VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: Cost based shipping with added cost for weight

Cost based shipping with added cost for weight 06 Feb 2018 08:47 #1

So far i have the shipping costs based on the total purchase price. Which works great..
But for one particular product that is heavy but is $100, I need to increase the shipping just based on its weight...to $13

How can i do that?
This is my code thus far:

Amount<40;Shipping=3.90
Amount=<100;Shipping=4.90
Amount=<250;Shipping=7.90
Amount=>250;Shipping=11.90
The administrator has disabled public write access.

Cost based shipping with added cost for weight 17 Feb 2018 00:01 #2

Dear FarmGirlOysters,
Do I understand you correctly that the shipping for the whole order should be $13 flat if the heavy product is in the cart (plus possible some other, light products, which in this case don't have any influence on the shipping cost).

How do you identify that one special product? Do you properly set the weight for that product and all other products have a much lower weight? In that case, you can use a condition on the total weight to determine whether that heavy product is in the order:
Weight>=100; Shipping=13
Amount<40;Shipping=3.90
Amount=<100;Shipping=4.90
Amount=<250;Shipping=7.90
Amount=>250;Shipping=11.90

The first rule would handle the case that the heavy product is in the cart. If that rule does not match, then you simply want to apply your rules thus far.

If you have other, heavy products (or the total weight of the order of all light products might be just as heavy as that single heavy product), then you cannot use such a condition on the weight. In that case, I'm afraid you'll need the paid version to special-case on one product (or one category indicating heavy products).

Best regards,
Reinhold
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular