Author Topic: hoe to disable add to cart for certain products  (Read 1343 times)

padalec

  • Jr. Member
  • **
  • Posts: 55
hoe to disable add to cart for certain products
« on: November 18, 2014, 18:19:17 pm »
hi,

is there a way to disable add to cart button for some (not all) products?


jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28384
  • Always on vacation
    • Jenkin Hill Internet
Re: hoe to disable add to cart for certain products
« Reply #1 on: November 18, 2014, 18:42:29 pm »
As mentioned many times before, use productdetails template overrides with the add to cart section removed and assign to the products to the override using the Product Details Page selector on the information page for each product.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

padalec

  • Jr. Member
  • **
  • Posts: 55
Re: hoe to disable add to cart for certain products
« Reply #2 on: November 18, 2014, 22:46:27 pm »
Thank you .

I didn't find this hint.

Best regards,.

padalec

  • Jr. Member
  • **
  • Posts: 55
Re: hoe to disable add to cart for certain products
« Reply #3 on: November 19, 2014, 23:42:35 pm »
Hi again,

It is possible to use productdetail template overrides at the category level - when product is displayed with others within a desired category?

Is this the purpose of this file: default_showcategory.php in views/productdetails/tmpl/

Thank you