Hide prices specific to Category and Membership
I'm looking for a way to hide prices in specific categories based on membership levels.
Details: I have three categories each with products specific to individual memberships - ie: TORO Service Tools is only available to purchase by customers with the TORO membership, AGCO Service Tools purchasable by AGCO memberships, etc. Right now I have the products in these categories hidden unless they are logged in appropriately. What we would like to do instead is have all the products visible to all customers and have the prices only visible if they are logged in appropriately.
So my question is: how can I hide prices per category unless logged in with cooresponding membership?
I'm thinking that I could use an if/then statement something like {if $categoryid eq "250" and $membershipid eq "1"}show price{else}Login in to view Dealer Pricing{/if}. What's throwing me off is how to do this with three different statements - each for a different category/membership combo. Or, am I totally on the wrong path all together? Any assistance would be greatly appreciated!
Mel
__________________
X-Cart 4.4.4 Gold
|