View Single Post
  #3  
Old 03-14-2005, 12:58 PM
 
mpj mpj is offline
 

Senior Member
  
Join Date: Feb 2005
Posts: 106
 

Default

Actually I want to display it on the homepage

skin1>customer>home.tpl

I've tried to random loop produts loop=$products but it doesn't seem to be looping it.


here's what I have added

Code:
{*RANDOM FEATURE ITEM*} {capture name=menu} {section name=product loop=$products max=1} <A href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}"> [img]{$xcart_web_dir}/thumb/phpthumb.php?src=/product/thumb/t_{$products[product].productid}.jpg&w=70&h=70[/img] </A> {/section} {/capture} { include file="menu.tpl" menu_title="Product of the day" menu_content=$smarty.capture.menu } {*RANDOM FEATURE ITEM*}
__________________
X-Cart 4.0.11


{My simple mods}
Adding Market list and % save on product detail
Quantity input box
Reply With Quote