VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Tanker on November 21, 2018, 20:12:28 PM

Title: Shipment cost based on variants
Post by: Tanker on November 21, 2018, 20:12:28 PM
Product can have multiple variants which affect the price...
Product 1 has { red, blue, green, yellow }
Price 10
depending on the variant the price changes...
But!!! how can I change the shipping cost based on the variant selected?
say that I got change by shipment size, and each variant has different sizes
Red cost +5 size 2"
Green cost +10 size 5'
Blue cost +15 size 7'
shipment cost 10(no variant selected, just regular)
So, if user select Product 1 and selects variant Green total cost for that product is $20, but because the size of variant green is big I have to add the extra cost for that.
So, shipment variant: size 1(regular $10), size 2 +10, size 3 +20...etc
Now, the variant I use custom field string, cart attribute, cart input and the layout addtocart...


Title: Re: Shipment cost based on variants
Post by: Studio 42 on November 21, 2018, 21:26:00 PM
YOu have then to fill the product sizes and use children products and generic variant or multi variant customfield