Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Showing Hand Picked Root/Sub Categories

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 01-25-2016, 11:33 AM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default 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!
Reply With Quote
  #2  
Old 01-26-2016, 10:48 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default 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.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #3  
Old 01-26-2016, 11:09 AM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default Re: Showing Hand Picked Root/Sub Categories

Looks like it - I will give it a shot!!

Thank you!
Reply With Quote

The following user thanks info@shadowgraphicsinc.co for this useful post:
razortw (01-27-2016)
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:23 PM.

   

 
X-Cart forums © 2001-2020