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 & 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!