X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Showing Hand Picked Root/Sub Categories (https://forum.x-cart.com/showthread.php?t=73461)

info@shadowgraphicsinc.co 01-25-2016 11:33 AM

Showing Hand Picked Root/Sub Categories
 
Hello, I am trying to write a modification for the top_menu.tpl to simplify menu browsing and expand a bit more as to some of the new products we are launching as well.

Currently we have at http://www.horrormerchstore.com/shop/

Root Category 1 / Sub Category 1 / Sub Category 2 / etc
and I would like to show
Root Category 1 / Root Category 2 / etc

with direct links - which that part is easy enough however...

If someone clicks on Root Category 1 (or any subcategory under Root Category 1) I would like it to show a few hand picked Subcategories

i.e.

Row 1 : Root Category 1 / Root Category 2 / etc
Row 2 : Root1-Subcategory 30 / Root1- Subcategory89 / etc
but the second row would change depending on which Root Category they had picked from the first row

So a simple if then statement can be used but I'm not sure of the exact syntax of how to bring it up. Any help would be appreciated

thank you!

razortw 01-26-2016 10:48 AM

Re: Showing Hand Picked Root/Sub Categories
 
Hi!
We have a templater guide at our knowledge base, check it out
* http://kb.x-cart.com/display/XDD/Flexy+Guide
The language is very basic and has just a few statements, but I believe this is what you need.

info@shadowgraphicsinc.co 01-26-2016 11:09 AM

Re: Showing Hand Picked Root/Sub Categories
 
Looks like it - I will give it a shot!!

Thank you!


All times are GMT -8. The time now is 02:25 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.