News:

Looking for documentation? Take a look on our wiki

Main Menu

Shipment cost based on variants

Started by Tanker, November 21, 2018, 20:12:28 PM

Previous topic - Next topic

Tanker

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...



Studio 42

YOu have then to fill the product sizes and use children products and generic variant or multi variant customfield