I did all the steps, my bundleConfig looks like this:
{ id: '49774845821267', originalPrice: 44.99, bundlePrice: 24.99 },
{ id: '49824558383443', originalPrice: 47.99, bundlePrice: 29.99 },
{ id: '49824558481747', originalPrice: 50.99, bundlePrice: 39.99 }
When I try to add the products using the bundle, products with ids 49774845821267, 49824558383443,49824558481747 no discounts are added to the products. Also I added debug messages to the bundle-pricing.js but none of them fire. Do you want me to share my collaboration code with you, so you can have a closer look instead of just getting information from me. Here is my idea of how it should work.
My volume bundle has to work with two discounts, first: Buy 2, Save 10%. Second: Buy 3+, Save 15%.
I specifically focus on the Buy 3+ part right now, because it allows the quantity to go above 3. The logic for the buy 2 offer is a lot easier.
For the Buy 3+, Save 15% part. For all of my products, I want to allow the bundles. The bundle should allow different variants in a product to work, but not to combine 2 different products to get the discount, the discount should only be applied on different variants, so let’s say someone wants to buy this product 3x: Best Indoor Lighting Ideas: LED Ceiling & Table Lamps for Your Home – InteriorGlows in different variants.
Variant 1: 1M x 1M, Type A (EU) regular price 44.99
Variant 2: 2M x 2M, Type A (EU) regular price 47.99
Variant 3: 3M x 3M, Type A (EU) regular price 50.99
The pricing of these offers should go to
Variant 1: 1M x 1M, Type A (EU) regular price 44.99 price → (price-(0.15*price))
Variant 2: 2M x 2M, Type A (EU) regular price 47.99 price → (price-(0.15*price))
Variant 3: 3M x 3M, Type A (EU) regular price 50.99 price → (price-(0.15*price))
When for example Variant 3 is removed, variant 1 and variant 2 should get back to their original prices (44.99,47.99)