Jump to content

Auto assign products to parent category


Recommended Posts

Hi, Prestashop community. I don't know if there's a hack or a module that can automatically assign products from child to parent categories.

Let's say we have the following scenario:

 

I create categories:

 

- A

- B

- C

 

And each of these has 2 subcategories:

- A1

- A2

- B1

- B2

- Etc.

 

And Each of these subcategories, also has 2 subcategories:

 

- A1-1

- A1-2

- A2-1

- A2-2

- B1-1

- Etc.

 

And so on.

 

I need to create a product and assign it to category A2-2 (default category), but I also need to display it in its parent category (A2) and the parent category of this one (A), so That if you go to any category you'll be able to see all the product from its category tree.

 

If someone know a hack or a module to get this done, please let me know :).

Link to comment
Share on other sites

  • 6 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...