Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 103062

Flat rate shipping + price on additional item

$
0
0

Replies: 0

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://wordpress.org/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 all articles
Browse latest Browse all 103062

Trending Articles