Author Topic: Disable Add To Cart For 1 Product  (Read 1139 times)

32golf

  • Jr. Member
  • **
  • Posts: 68
Disable Add To Cart For 1 Product
« on: June 24, 2011, 18:46:14 pm »
Hi there,
Due to some stupid laws, there is a few products by client can not show the prices for, but, can show the attributes, they just have to call to order.

Is there anyway i can disable add to cart for one product?

Regards

Ross

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27107
  • Always on vacation
    • Jenkin Hill Internet
Re: Disable Add To Cart For 1 Product
« Reply #1 on: June 24, 2011, 18:49:18 pm »
Don't enter anything for the product price. This will result in the "Call for pricing" text string to show instead of add to cart. You can change the words used. You could put the price in the product description.

Alternatively, if these products were in a special category then you could make a flypage with the add to cart section removed.
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 VM 3.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1

32golf

  • Jr. Member
  • **
  • Posts: 68
Re: Disable Add To Cart For 1 Product
« Reply #2 on: June 25, 2011, 01:00:30 am »
Can i assigned attributes that will be displayed even if its set as Call For Pricing?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27107
  • Always on vacation
    • Jenkin Hill Internet
Re: Disable Add To Cart For 1 Product
« Reply #3 on: June 25, 2011, 10:46:36 am »
I doubt if they will show up. But as they cannot be added to the cart you will probably need to put them in the description anyway.
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 VM 3.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1

32golf

  • Jr. Member
  • **
  • Posts: 68
Re: Disable Add To Cart For 1 Product
« Reply #4 on: June 25, 2011, 12:48:03 pm »
Ok mate - ill have a play about - given me a few brain waves.
Thankyou