| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Showing all categories, subcategories and sub-subcategories | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Showing all categories, subcategories and sub-subcategories
Hi I am trying to show all categories, subcategories and sub-subcategories on a single page.
How can I achieve this? Thanks and Regards, Sid
__________________
Version 5.3.6.6 |
|||||||
#2
|
|||||||
|
|||||||
Re: Showing all categories, subcategories and sub-subcategories
Code:
xc_categories table).
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
|
#3
|
|||||||
|
|||||||
Re: Showing all categories, subcategories and sub-subcategories
Hi Ed,
Thanks for your reply. I am trying to show display them to the customer area. Where do I add this code? I created a new page following this - https://devs.x-cart.com/basics/creating_new_page.html#creating-page-in-customer-area Now, how do I display all Categories, subcategories, sub-subcategories here? Kind Regards, Sid
__________________
Version 5.3.6.6 |
|||||||
#4
|
|||||||
|
|||||||
Re: Showing all categories, subcategories and sub-subcategories
Inside body.twig.
Basically you define categories in the view class so that they are accessible from twig and you loop over them in the twig.
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
|
|||
X-Cart forums © 2001-2020
|