VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: EvanGR on February 22, 2021, 14:06:11 PM

Title: Compound Products? (i.e. A single product to affect stock of many)
Post by: EvanGR on February 22, 2021, 14:06:11 PM
Hello,

We are looking to create compound products: products which affect the stock of other sub-products that are involved.

We have this scenario:
The customer visits a product page X, and orders the product.

The product X, is a collection of sub-products, behind the scenes, not separately visible to the customer.
Therefore, when the user orders product X, the stock is affected for all related sub-products.

I checked on breakdesigns Product Bundles but it's not exactly what we want. Because it requires all products to be visible and orderable from the user as standalone products. And each product "bundle" needs to be set up as a separate entry in the Custom Fields page, which is very inconvenient.

Ideally, compound products, are managed in the Products page, like all other normal products.

Any ideas?

Thanks!
Title: Re: Compound Products? (i.e. A single product to affect stock of many)
Post by: pinochico on February 23, 2021, 02:49:27 AM
if I remember correctly, the last time we used the Product Bundles plugin was 30% redesigned to do what the customer needs.

We do the same with most applications from 3d party developers - their ideas do not match those of end customers - see your experience with the Product Bundles plugin.

Yes, the subsequent production of the e-shop is a tailor-made development (therefore the usual advice of local discussants - why you don't have an updated VM is always very fun for me and just confirms their high expertise) and takes a lot of time

It is possible that custom development will be the right way for you.

If you need help with development, feel free to write.
Title: Re: Compound Products? (i.e. A single product to affect stock of many)
Post by: EvanGR on February 03, 2023, 10:11:43 AM
I am reviving this thread because we haven't managed to find a solution yet. Wondering if things have changed or if anyone has any new insights?
Thanks!
Title: Re: Compound Products? (i.e. A single product to affect stock of many)
Post by: GJC Web Design on February 03, 2023, 14:09:05 PM
Same advice as pinochico - will need custom coding

I have just completed this recode based initially on the Break Designs Bundles but to be honest very little of the original code is left

https://rocketcert.com/construction/alabama/gas-fitter-license

if u scroll down to a product like Alabama Gas Fitter Bundle it actually consists of 

Alabama Gas Fitter Exam Prep $279
2021 International Fuel Gas Code $99
2021 International Plumbing Code $99
Mathematics for Plumbers and Pipefitters $174
Modern Plumbing, 9th Ed $109
3-4 Book Tab Bundle $29

all products on these pages ( they are Joomla articles ) are added by a shortcode snippet

if u add that single "product" then all the above are added (the single Bundle item isn't) , stock is removed and a discount applied that brings the total to a nice round, in this case $719
Bear in mind these items are also in dozens of other bundles so the discount is always different per item to reach the target bundle price/discount.

Changing one price in the admin, be it the bundle or any item will also change all the prices/discounts for all the items in that bundle

But there was many hours of coding involved ... for specific requests like this or yours the chances of finding a commercial extension to do this will be very rare...



Title: Re: Compound Products? (i.e. A single product to affect stock of many)
Post by: EvanGR on February 12, 2023, 16:23:39 PM
Thank you very much!