Hi,
I am using the VM 3.0.6.2 and would like to know how to remove the add to cart button for my shopper groups that do not show prices. I have removed the button and prices for unregistered users but if someone registers and is therefore logged in in the Default Shopper Group they can still see the Add to Cart button even though I have set this group to display no prices.. I also have another Shopper Group that can see prices and therefore want the Add to Cart button to remain for this shopper group. Can I do this in the Virtuemart backend at all? Or do I need something more? I am very new to this and php so could in no way write my own code.. Many thanks in advance :)
Quote from: tezza81 on April 17, 2015, 02:36:20 AM
Hi,
I am using the VM 3.0.6.2 and would like to know how to remove the add to cart button for my shopper groups that do not show prices. I have removed the button and prices for unregistered users but if someone registers and is therefore logged in in the Default Shopper Group they can still see the Add to Cart button even though I have set this group to display no prices.. I also have another Shopper Group that can see prices and therefore want the Add to Cart button to remain for this shopper group. Can I do this in the Virtuemart backend at all? Or do I need something more? I am very new to this and php so could in no way write my own code.. Many thanks in advance :)
Can anybody help? Please :)
IMHO you need a template over ride that will detect the shopper group and show/not show the add to cart
not possible with just config
Thank you for your reply :) I have been searching and trying all the overrides that people have been suggesting but none of them are working for me.. I have been adding to the addtocart.php file.. Not sure if this is correct? Are you able to help at all with an override code? Or do you know where I could go to get someone to write that kind of override for me? Many thanks! :)
You can email or PM me if this is a commercial proposition...
Hi,
A think this have to be integrated in virtuemart, i ran in the same type of problem for the add to cart button or price display for Pro/Standard users or anonymous and registred users.