Author Topic: Do not allow Add To Cart Until Varriants have been Chosen  (Read 416 times)

Newbie74

  • Beginner
  • *
  • Posts: 5
  • A medium beginner
Do not allow Add To Cart Until Varriants have been Chosen
« on: January 03, 2019, 08:35:33 am »
Hello again you fine people at VM.

I would like to be able to make sure that the shopper follows this journey:

1st - Select the product they are interested in. (without seeing the add to cart button at this point)

2nd - After selecting the product, they must select size, color (any varriants) etc, ONLY then being able to ADD TO CART

Is this possible and could you show me how?

Thank you
Quirky ¿
Words are the magic that push dreams into being.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8840
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Do not allow Add To Cart Until Varriants have been Chosen
« Reply #1 on: January 03, 2019, 12:00:20 pm »
depends on your setup but normally it would be child products and an unorderable parent

Install the demo somewhere and experiment .. just this scenario is there

http://dev.virtuemart.net/attachments/download/1145/VirtueMart3.4.2_Joomla_3.8.12-Stable-Full_Package.zip
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3725
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27352
  • Always on vacation
    • Jenkin Hill Internet
Re: Do not allow Add To Cart Until Varriants have been Chosen
« Reply #3 on: January 03, 2019, 12:08:58 pm »
As GJC says, use parent/child. For example see http://demo.virtuemart.net/t-shirt-classic-blue-detail
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.10045 on Joomla 3.9.5 PHP 7.0.33
Testing VM 3.4.5.10045 on Joomla 3.9.5

EvanGR

  • Jr. Member
  • **
  • Posts: 188
Re: Do not allow Add To Cart Until Varriants have been Chosen
« Reply #4 on: January 17, 2019, 13:22:25 pm »
Hello,

Is it not possible to simply make a custom field compulsory to select an option?