Answer the question
In order to leave comments, you need to log in
How to display parent category in joomshopping?
There is the following structure
Our works (id1)
- Interior (id2)
- - - Work 1
- Exterior (id3)
- - - Work 1
Product catalog (id4)
- Manufacturer 1 (id5)
- - - Products 1
- - - Products 2
- Manufacturer 2 (id6)
- - - Products 1
- - - Products 2
All this is built on joomshopping. It is necessary that for products that have the parent category Our works (id1) one style is displayed in the template, and for all the rest others. I'm trying to get this parent category on the product page, but I don't have the skill :) Subcategory Id I get $cid = $this->category_id; but how to get the parent category?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question