I was wondering if it's possible to show the price of a product only for a specific group and to a specific product category.
I know if I change the "Allow shopping for unlogged customers" option to "hide the price and the add to cart button" then this would do what I want. However, I only want to change this for 1 specific category. Every other category can stay the same but I want to create one category which shows the products but not the price except if they are in a trade user group.
I have tried changing the base price to 0 and it shows "Contact us for a price", but when I use the quantity discount tab to add the price for the trade user group, it still only shows "Contact us for a price". Am I missing something here, or is this feature not possible without customisation?
- set value of the "Zero price action" setting to "Do not allow customers to add the product to cart"
- create new catalog promotion
-- conditions:
1. if categories in [SPECIFIC_CATEGORY]
2. if user group not equal [TRADE]
-- bonuses
1. product discount by percentage of the original price 100
- enjoy
Hi eComLabs,
Thanks for the reply, I have tried it and logged in with a trade account but it is still saying "Contact us for a price". I have the following set in the quantity discounts:
Quantity Value Type User Group
1 0 Absolute All
1 50 Absolute (£) Trade
This is how I've been doing my user group discounts and it has worked fine, but I'm not sure if I have to do something different this time?
Thanks for the reply, I have tried it and logged in with a trade account but it is still saying "Contact us for a price". I have the following set in the quantity discounts:
Quantity Value Type User Group
1 0 Absolute All
1 50 Absolute (£) Trade
This is how I've been doing my user group discounts and it has worked fine, but I'm not sure if I have to do something different this time?
There is no need to set up price for user group in this case. Product price should be equal to price for traders
There is no need to set up price for user group in this case. Product price should be equal to price for traders
Removing the price for the user group has fixed the issue. Now the product can only be added to the cart for trade customers, which is want I wanted. However, the only downside is that for everyone else it says:
Old price: £50.00 Contact us for a price
You save: £50.00 (100%)
This wouldn't be ideal as it says what the price is. Is there any way to stop this from happening without removing the block as I do use this feature on other products?
I'm not entirely sure what tbirnseth means as I don't know how to use the hooks. Would this be something easy for me to do?
In this case it is required to use products:layout_content hook in the design/themes/THEME/templates/views/products/view.tpl file and set show_old_price, show_price, show_list_discount and show_clean_price to false if price is zero
In this case it is required to use products:layout_content hook in the design/themes/THEME/templates/views/products/view.tpl file and set show_old_price, show_price, show_list_discount and show_clean_price to false if price is zero
I have checked this and I cannot see a views folder under design/themes/THEME/templates
Ah yes, you are correct! How would I set show_old_price to false if the price is zero? Would I be right in thinking I need to add some extra code or create another line in the file?