Hey Iggy. The first step is exactly what you’ve done so far: adding different rates for each weight range under the shipping methods section of the dashboard. Maybe that’s €13,50 for 1–12 and then, in a new row, €18,00 for 13–24, or something like that. But these are gram-based weight measurements, not just bottle quantities—the shipping calculation isn’t set up to interpret those. So the second step is quantizing bottle quantity and weight at 1:1, basically making your bottle quantities legible to the shipping calculation. You would do this by defining the bottle weight using the data-item-weight
attribute. Your “add to cart” button for any given product that you want to apply this logic to should include data-item-weight="1"
, which tells the shipping calculation: for the purpose of determining cost, let’s say that 1 bottle = 1 gram.
This is outlined pretty well in this video at the 1:10 mark.
If you’ve done the above steps and this still isn’t working, it may be helpful if you could share some of your code and/or screenshots from your dashboard.