News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Remove Add to Cart when price is zero

Started by ricewing, November 24, 2015, 19:10:59 PM

Previous topic - Next topic

ricewing

I have some products that I want to set at No Price. When the price is zero I do not want the "Add to Cart" button to Display. I used to be able to do this with version 2.x by not specifying any shopper groups. Now that I have upgraded to version 3.0.12, it doesn't seem to work this way any longer. What code would I need to add, and where, to make this happen? Thank you in advance for your assistance.

Jumbo!

Enable "Show call for price, when the price is empty" in VirtueMart Configuration under Pricing tab.

ricewing

Yes, I found that option shortly after I posted the message, and it did get rid of the Add to Cart but I don't really like the link there to ask a question. The reason I don't need a Add to Cart button is because there are numerous links in the description that will take the user to additional pages where the Add to Cart button will reside based on their configuration choices. Basically, each item in the store has four unique configurations. Once a configure button link is selected then they are able to select the options within that configuration. So the "home" page for each item is not need an Add to Cart button.

It's complicated the way my client wants to do it, but, this worked in previous versions, just trying to replicate that in the new version.

Any other suggestions? Thank you

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum