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

hide add button in all view except detailed view

Started by sylvaink, April 10, 2016, 18:46:52 PM

Previous topic - Next topic

sylvaink

Hello,

Since my visitor need to select some custom fields, I want only to have the add to cart button on the detailed page.
How can I  remove the add button from the other views?

Also the custom fields I don't want theme only on the detailed view




jenkinhill

http://forum.virtuemart.net/index.php?topic=128401.0

You can prevent custom fields from displaying in the category view by a setting in Configuration/Shopfront/Product Listing

To remove the add to cart bar you can use template overrides or prevent the add to cart displaying using a CSS override:
.addtocart-bar {
    display: none;
}
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

sylvaink

Hi
With your help I have got it working Thanks :-)