VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: man.of.earth on April 29, 2022, 21:39:42 PM

Title: Product bundles?
Post by: man.of.earth on April 29, 2022, 21:39:42 PM
Hello devs,

Here https://virtuemart.net/news/506-virtuemart-4 it says one can create product bundles, but it's not clear how. Can anyone tell how products bundles can be created? Thanks.
Title: Re: Product bundles?
Post by: Milbo on April 30, 2022, 22:55:53 PM
Create a customfield bundle. Select a category there, if you want to list only a certain type of products in the product edit. For example you sell pocket lights and you want to offer different types of batteries, then you could set the customfield on batteries. Name the customfield "Batteries" Now go to your product pocket light, add the customfield Batteries. Then you see a pricing option and a dropdown of the products in the category "batteries". Then you can for example add a cheap battery for free, or give the opportunity to select another battery, with more power for some extra price. Or a reduced price of the actual price of this battery. So if you change the price of the battery, the price in the bundle is also changed. That is the trick of it.
Title: Re: Product bundles?
Post by: man.of.earth on May 02, 2022, 10:53:35 AM
I see. It is useful for bundling a product with other variants.

Is there a way to create a collective product, i.e. a product that is made up of several other products, all at once? And its price to be the sum total of the products it is made of?
Thank you.
Title: Re: Product bundles?
Post by: Milbo on May 02, 2022, 12:05:50 PM
I dont understand
Title: Re: Product bundles?
Post by: man.of.earth on May 02, 2022, 13:21:23 PM
Product X is made up of product A, B, C, D (a bundle, or compound product, or a pack of products).
Price of product X = price A + price B + price C + price D.

If product X (actually ,,pack of products X") is bought, the stock of A, B, C and D products decreases.
Title: Re: Product bundles?
Post by: pinochico on May 02, 2022, 15:54:55 PM
QuoteIs there a way to create a collective product

I think this:
https://breakdesigns.net/extensions/joomla/product-bundles
Title: Re: Product bundles?
Post by: tom@rocketcert.com on May 21, 2022, 14:45:48 PM
Quote from: arcturus on May 02, 2022, 13:21:23 PM
Product X is made up of product A, B, C, D (a bundle, or compound product, or a pack of products).
Price of product X = price A + price B + price C + price D.

If product X (actually ,,pack of products X") is bought, the stock of A, B, C and D products decreases.

This is what we also need.   However, if Product A has a $10 price increase, then this should be reflected in the total for Product X.

Did you find a solution?

Tom
Title: Re: Product bundles?
Post by: Milbo on June 20, 2022, 20:37:40 PM
Quote from: arcturus on May 02, 2022, 10:53:35 AM
I see. It is useful for bundling a product with other variants.

Is there a way to create a collective product, i.e. a product that is made up of several other products, all at once? And its price to be the sum total of the products it is made of?
Thank you.

Lol, I dont know what to say. I was not explaing this? It is the same as with the multivariants with children. You can use the parent product as presenter for all your variants, or you can use the parent product as the first variant. The same here. You can use the main product as part of the bundle, or you can use the product as "The bundle". As you wish.

You can modify any prices. You can use the original price or modify it with a percentage or fixed amount. You can set products as fixed bundle, or optional. There is really no wish left. I am going to change my "Bundles" in the extensions store and it should also work with the download plugin correctly.

and now I read the rest of the thread.
Title: Re: Product bundles?
Post by: Milbo on June 20, 2022, 20:39:25 PM
Quote from: arcturus on May 02, 2022, 13:21:23 PM
Product X is made up of product A, B, C, D (a bundle, or compound product, or a pack of products).
Price of product X = price A + price B + price C + price D.

If product X (actually ,,pack of products X") is bought, the stock of A, B, C and D products decreases.

Quote from: Milbo on April 30, 2022, 22:55:53 PM
Or a reduced price of the actual price of this battery. So if you change the price of the battery, the price in the bundle is also changed. That is the trick of it.

I did answer this, but I see, we need a docs for that.
Title: Re: Product bundles?
Post by: extonjaez on October 12, 2022, 13:58:25 PM
Hello

Have you please a frontend demo URL page where this new feature of VM4 where "PRODUCTS BUNDLE" is showed ?
Many Thanks!!!
Arnaud

System Information
PHP Built On   Linux s22095112 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
Database Type   mysql
Database Version   10.2.44-MariaDB
Database Collation   utf8mb4_general_ci
Database Connection Collation   utf8mb4_general_ci
Database Connection Encryption   None
Database Server Supports Connection Encryption   No
PHP Version   8.1.9
Web Server   Apache
WebServer to PHP Interface   fpm-fcgi
Joomla! Version   Joomla! 4.2.3 Stable [ Uaminifu ] 27-September-2022 15:35 GMT
User Agent   Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Title: Re: Product bundles?
Post by: Darko F. on March 23, 2023, 20:25:26 PM
Hi
I try set up bundles, I did all what Milbo say in post above, but cant get it work.

1 I create a custom fields bundles with name - bundle

2. Select category with many product in created custom fields.

3. I add in the test product with name - TEST  - back end  custom fields bundle,  there I can pick up all product in category so I pick one, but after save the only one product could be selected with name  - Test -.

4. I add the same custom fields bundle to some other product, and I could could only pick up  - test -  product in field drop down,

No price changed on FE nothing, I can't find how to make it work?


Title: Re: Product bundles?
Post by: Darko F. on March 23, 2023, 20:38:05 PM
I forgot :)

VirtueMart 4.0.13 10787

And J4
Title: Re: Product bundles?
Post by: Darko F. on March 28, 2023, 17:48:09 PM
So I figured out:

I create a custom fields bundles with name - bundle and you need to:
Enable:
add to car attribute
and
enable
Input.

This do the trick.
Title: Re: Product bundles?
Post by: EvanGR on August 18, 2023, 08:49:05 AM
A small but important feature request:

Allow to create product bundles from unpublished products.

Purpose:

Some products are not sold separately. They are parts to a larger product. When the larger product is sold, the stock changes for the parts.

Would be a great addition if this feature was implemented.