Show category button in subcategory

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Show category button in subcategory

Post by Nidzo »

I have category Drinks (Pića) which is parent category for several subcategories. I want to add View category button for those subcategory items too. I know I have to create template override in default_subcategories.php but I don't know what code and where to place :)

Also in this subcategory view, changing layout does not work.

Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Show category button in subcategory

Post by Jan »

Hi,

I don't have any such customization so I cannot give more detailed information:

- the file default_subcategories.php should be copied
- moved to template (see general information about template overrides in Joomla, or e.g. https://www.phoca.cz/documents/116-phoc ... -overrides )
- and just see the code for the buttons in categories view and copy and edit it for this file.

( components/com_phocacart/layouts/button_category_view.php )

Jan
If you find Phoca extensions useful, please support the project
Post Reply