• Resolved crealys

    (@crealys)


    I am trying to set up flat rate shipping charges for multiple items e.g. $6 for the first item plus $3 for each additional item.

    I have setup shipping classes for light and heavy products

    Under the Shipping zones tab I’ve used only 1 method:
    Standard – Flat rate

    I’ve use the formula 6 + ( 3 * [qty] ) for light products
    and 7 + ( 5 * [qty]) for heavy products

    My issue is that the cart shows an additional charge of $3 on top of the first $6. So if there is one item the charge for light item becomes $9, not $6 and if I add a second item it becomes $12 not $9…

    From this post https://www.ads-software.com/support/topic/set-woocommerce-shipping-charges-for-multiple-items/

    I have then changed my formula to 3 + ( 3 * [qty] ) for light products
    and 2 + ( 5 * [qty]) for heavy products

    It’s working as expected as now it gives me $6 for the 1st item and $9 for two items…..

    however:

    If i have 1 light item and 1 heavy item in the basket with my calculation type set as ‘Charge shipping for the most expensive shipping class’… this is where wrong calculation starts to begin…

    I would then have a shipping total cost of $7 where in fact it should have been $10 (7 for 1st heavy and 3 for 2nd light item)

    I tried this formula ‘6 + ( 3 * [qty – 1] ) but woocommerce won’t accept the minus sign in the formula…

    Please help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hello @crealys,

    If i have 1 light item and 1 heavy item in the basket with my calculation type set as ‘Charge shipping for the most expensive shipping class’… this is where wrong calculation starts to begin…

    What you are getting is the expected result. It’s not possible to achieve what you described here with the default WooCommerce shipping functionality as it has some limitations. You can try the Table Rate Shipping extension for your particular scenario.

    Thanks!

    Just a note:

    6 + ( 3 * [qty – 1] ) should be changed to:

    6 + ( 3 * ([qty] – 1) )

    That should make the formula work.

    Thread Starter crealys

    (@crealys)

    hi @seank123 Thanks for your input!
    I found out that 6 + ( 3 * [qty] – 3 ) works best as it would substract 3usd on the 1st item

    Rambo

    (@rahul020691)

    Hi there,
    Thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Flat rate shipping + price on additional item’ is closed to new replies.