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

Tabbed featured products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-02-2012, 09:33 AM
 
Nolimits Nolimits is offline
 

Member
  
Join Date: Mar 2012
Posts: 17
 

Exclamation Tabbed featured products

Hi all,

need help!

I have a 3 tabs on my X-Cart homepage and content of each tab should be featured products from different category.
Can somebody help me?
Here is the code of the tabs..

Code:
<div id="tabs-rotate" style="margin-left: 3px;"> <ul> <li><a href="#tab1"><span>MEN'S T-SHIRTS</span></a></li> <li><a href="#tab2"><span>MEN'S HOODIES</span></a></li> <li><a href="#tab3"><span>HATS &amp; BEANIES</span></a></li> </ul> <div id="tab1"> {include file="customer/main/send_to_friend.tpl" } </div> <div id="tab2"> {capture name=dialog} {include file="customer/main/products.tpl" products=$f_products featured="Y"} {/capture} {include file="customer/dialog.tpl" title=$lng.lbl_featured_products content=$smarty.capture.dialog sort=true additional_class="products-dialog dialog-featured-list"} </div> <div id="tab3"> { include file="customer/dialog.tpl" title=$lng.lbl_featured_products content=$smarty.capture.dialog sort=true additional_class="products-dialog dialog-featured-list" } </div> </div>

Current includes are for testing purposes.
Version is 4.4.5
Please help it's almost red alert

Thanks in advance!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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 04:02 PM.

   

 
X-Cart forums © 2001-2020