Post by bhavikshah92 » Mon Aug 03, 2015 7:58 pm

Hello,

i want a extension which can give me the output as below.
if i have 3 categories say CAT1,CAT2 and CAT3 and each has some products

so the category.tpl page should show the result as below

CAT 1
Product 1 of CAT 1
Product 2 of CAT 1
Product 3 of CAT 1

CAT 2
Product 1 of CAT 2
Product 2 of CAT 2
Product 3 of CAT 2

CAT 3
Product 1 of CAT 3
Product 2 of CAT 3
Product 3 of CAT 3

and So On..

if there are free extension available or just need to do some changes in code then please post answers to it. i have been searching for the extension but i didnt got any extension. I am using OC Version 2.0.2.0

Newbie

Posts

Joined
Wed Jun 03, 2015 7:39 pm

Post by artcore » Mon Aug 03, 2015 9:51 pm

The category.tpl page calls a specific category_id listing all subcats and products.
It can't get multiple top cats.
I would probably create a custom page e.g. all_categories.tpl and use it to display multiple instances of a custom module that each contains a specific category with their products.
Such modules exist already, see the extension store.

A custom page could also be an information page with its own layout route. You can assign modules to this layout in the design tab.

To get this page linked in the menu you can use another extension or hard code it in as the menu, by default, only displays cats.

Or you could just use the home page. Depending on your needs...

I hope this is useful to you ;D

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands
Who is online

Users browsing this forum: No registered users and 2 guests