Skip to content

Unexpected Category gets Created for Each New Product in Django Oscar API #375

@Shivam22102002

Description

@Shivam22102002

Hello

I am experiencing an issue when creating new products in Django Oscar. It seems that for each product I create, a new separate category is also being created automatically. This behavior is not what I expected, as I would like to assign new products to existing categories instead of generating new ones.

Steps to Reproduce:

  1. Navigate to the product creation POST API of admin api/admin/product.

  2. Fill in the product object and hit POST API.

Upon saving, I notice that a new category is created alongside the product, rather than associating the product with the selected existing category.

Expected Behavior:l expect that when I create a new product and assign it to an existing category, the product should be linked to that category without creating a new one

Actual Behavior A new category is created every time a new product is added, which results in unnecessary clutter in the category management.

Thank you,
Shivam Mahajan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions