glenskie16 Posted March 17, 2014 Share Posted March 17, 2014 i have some code that was working a while back but now its not but i need to display different product numbers if they are logged in and are associated with a group... here is what i have so far. this is the product-list.tpl {if $logged} <p> {counter start=1 skip=1 assign=count} {foreach $customerGroups as $getGroup} <strong> {if $getGroup.id_group == 20 }Part # {$product.API}<br />{/if} {if $getGroup.id_group == 21 }Part # {$product.SWAIM}<br />{/if} {if $getGroup.id_group == 22 }Part # {$product.HF}<br />{/if} {if $getGroup.id_group == 9 }Part # {$product.JOHN_CRANE}<br />{/if} </strong> {counter} {/foreach} </p> {/if} Link to comment Share on other sites More sharing options...
glenskie16 Posted March 17, 2014 Author Share Posted March 17, 2014 no one ? Link to comment Share on other sites More sharing options...
glenskie16 Posted March 17, 2014 Author Share Posted March 17, 2014 better yet if you could just show me how to display all the groups the user is in that would be better Link to comment Share on other sites More sharing options...
glenskie16 Posted March 17, 2014 Author Share Posted March 17, 2014 [sOLVED] Link to comment Share on other sites More sharing options...
Recommended Posts