Re: Display Certain Number of Featured Products
You can use position field - set position for the first 8 you want to show say between 0 and 100 and above 100 for the rest and then just do check in the foreach loop in featured.tpl
{foreach from=xxx item=x}
{if $x.orderby lt 100}
show products code
{/if}
{if $x.orderby gt 100 && $userinfo.membershipid eq "y"}
show products code
{/if}
{/foreach}
You have to check on the correct variables syntax
__________________
Steve Stoyanov
CFLSystems.com
Web Development
|