Post by Mosstyn » Sun Oct 29, 2023 9:21 pm

Hi,
The default 'Category' module in Opencart displays ALL the categories in a shop.
Is there any way to display only the current category I'm viewing with its subcategories?

Default theme is being used.

Any pointers/info on extensions would be gratefully received.
TIA

New member

Posts

Joined
Tue Aug 01, 2017 7:02 am

Post by Mosstyn » Sun Oct 29, 2023 9:36 pm

I have managed to get it how I want it by simply commenting out this line

Code: Select all

{% else %} <a href="{{ category.href }}" class="list-group-item">{{ category.name }}</a>

New member

Posts

Joined
Tue Aug 01, 2017 7:02 am
Who is online

Users browsing this forum: No registered users and 8 guests