VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: gorodslonim on September 16, 2015, 08:21:37 AM

Title: Two "add to cart" in one product.
Post by: gorodslonim on September 16, 2015, 08:21:37 AM
Hello, crew!
need your support, please!

I'm working on contact lenses e-store, and here is the problem:

For example, I have a product "Super Lense" with price 1 dollar.
After I click on it and get to its description (power, shape, etc.) I need to have a possibility to Add to cart a proper lense quantity for Right eye and at the same time for the Left eye.

Like that:

Right eye   2   Add to cart
Left eye      3   Add to cart

Total          5 items

Is it possible with Virtuemart 3 ?

Thank you very much for any help!
Title: Re: Two "add to cart" in one product.
Post by: GJC Web Design on September 16, 2015, 09:17:31 AM
http://forum.virtuemart.net/index.php?topic=79799.0

and a few possibilities

have left and right as children of the parent "Super lense" would be the easiest

the choose which one and add
Title: Re: Two "add to cart" in one product.
Post by: gorodslonim on September 16, 2015, 10:21:44 AM
Thanx for the reply!
Quote from: GJC Web Design on September 16, 2015, 09:17:31 AM
http://forum.virtuemart.net/index.php?topic=79799.0
Joomla! 3.4.4 Stable
PHP   5.3.28
VirtueMart 3.0.8
no live URL at the moment - working on localhost

Quote from: GJC Web Design on September 16, 2015, 09:17:31 AM
and a few possibilities

have left and right as children of the parent "Super lense" would be the easiest

the choose which one and add

If I do as above, I get "Super lense" with posibility to add to cart either Left or Right children-product.
am I right?

because i need to have like this (see attachment)
Title: Re: Two "add to cart" in one product.
Post by: GJC Web Design on September 16, 2015, 11:45:09 AM
You will never get a layout like that without 3rd party ext. or extensive coding

read  http://docs.virtuemart.net/manual/general-concepts/186-derived-products-product-pattern-child-products.html
http://docs.virtuemart.net/manual/general-concepts/212-customfields.html

use the demo and investigate