![]() |
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 |
Re: Hide prices specific to Category and Membership
I am also looking to hide prices for non members, as well as hide "add to cart" button i guess since price will be evident if they can add it to the cart and get to the next screen.
version 4.4.2 gold Much Thanks Ahead! |
Re: Hide prices specific to Category and Membership
i solved this ...i found after hours where to fix the code... i have prices hidden for non members... also i hid add to cart button from non members and modified the item detail pages as well. i substituted in "please login to see price"
if you want my solution send me $5 and i will give it to you! with slight modif it could be made to show prices or not based on user lvl. deschmeyer@gmail.com |
Re: Hide prices specific to Category and Membership
Well, up until now I've been just hiding the products based on membership login. Now, I need to have all products visible but hide the prices/buttons accordingly based on the above description. I'm still struggling with the code and where to put it. Any advice?
Codeboy - were you able to do this based on category/membership combo or just whether they are members or not? |
Re: Hide prices specific to Category and Membership
sure man, let me get home to my dev machine and ill clue you in where to modify code.
|
Re: Hide prices specific to Category and Membership
i did it based on logged in or not but you can probably modify it justa hair for membership level...
|
All times are GMT -8. The time now is 06:47 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.