VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Jalil on December 10, 2018, 16:50:43 PM

Title: automatically add supporting products to cart...
Post by: Jalil on December 10, 2018, 16:50:43 PM
I am using joomla 3.8.0 and virtuemart 3.2.4
is there a way to automatically add supporting product when we click on add to cart on one product. ?

Regards,
Title: Re: automatically add supporting products to cart...
Post by: Studio 42 on December 10, 2018, 20:31:47 PM
Do ypu mean add a second product to cart ?
Title: Re: automatically add supporting products to cart...
Post by: Jalil on December 11, 2018, 08:42:29 AM
no, for example:
i have a product name A, there are 2 more products b and c which are related to A.
when click on "Add to Cart" on product A, b and c should auto add to cart, which user can remove later from cart if he does not want them.

i am already doing that on a different CMS.
Title: Re: automatically add supporting products to cart...
Post by: GJC Web Design on December 11, 2018, 09:44:09 AM
Google for virtue mart product builder
Title: Re: automatically add supporting products to cart...
Post by: Studio 42 on December 11, 2018, 10:31:15 AM
You have my plugin https://shop.st42.fr/en/products/extra-product.htm
And here a full example of most features http://pro.st42.fr/en/demo/extra-product/extra-product-demo.html
Title: Re: automatically add supporting products to cart...
Post by: Jalil on March 01, 2019, 06:53:18 AM
hi  Studio 42,
sorry for late response. i checked your demo, but unfortunately it does the half task.
it adds the products to cart, but when we remove primary product from cart it does not automatically remove the related products.
Title: Re: automatically add supporting products to cart...
Post by: Studio 42 on March 01, 2019, 10:10:58 AM
Quote from: Jalil on March 01, 2019, 06:53:18 AM
hi  Studio 42,
sorry for late response. i checked your demo, but unfortunately it does the half task.
it adds the products to cart, but when we remove primary product from cart it does not automatically remove the related products.

You can do it another way, if the related products dont need stock update by statut, you can add related products inside the main product in cart as single product.
But my plugin do not work this way