Jump to content

Display main category name in a product list


Carpe_diem

Recommended Posts

Hi,

I am currently setting up a Prestashop 1.7.7.5 store and need some help. I am trying to display the main category of a product which is not selected. Here is a more depth explaination:

The categories are setup like this:

  • Category 1
    • Subcategory 1
  • Category 2
    • Subcategory 1
    • Subcategory 2

Let say we have a product that is added to Category 2 and Subcategory 2. Subcategory 2 is selected as main category for this product, but I want to display Category 2 in a product list . Is this even possible?

 

 

  • Like 1
Link to comment
Share on other sites

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...