View Single Post
  #2  
Old 04-06-2011, 02:47 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
Reply With Quote