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 price on selected products

Started by fkeller, October 01, 2022, 09:43:19 AM

Previous topic - Next topic

fkeller

Hi,

I try to remove the ordering-button on some selected products.
It should list the price, but only for reference.


cheers.
Flex


I have VM 4.0.6 10690

jenkinhill

I have used stock control with a small CSS override for this on a site which did not require stock control.

In Config/Shopfront set Action when a Product is Out of Stock to  "Displays 'Notify Me' instead of 'Add To Cart' button"

Add in the template custom.css file    .notify { display: none !important; }

Then if a product's stock is set to zero the add-to cart will not be displayed.  All other products should have stock, though. ( I set stock for all products to 10000 using phpMyAdmin )

You may need to use a different method if the shop already uses stock numbers.
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