VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum

We are currently unable to provide proper support!

For the last few months we have been very busy working on some huge, very time-consuming and time-sensitive projects, so our support was very limited and we were unable to provide proper support in our forums! We now have a huge backlog of requests from our customers, which we are trying to clear bit by bit. Unfortunately, this takes longer than we anticipated, so our response time is not yet up to par. We are trying our best to improve this situation as soon as possible.

Sorry for the inconvenience and thank you for your understanding!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Shipping Rate

Shipping Rate 06 Sep 2017 21:54 #1

Hi Trying to simply create two shipping rates on woocommerce:

Name=Shipping below 15 kg's; Weight<15; Shipping=165
Name=Shipping above 15 kg's - R5 for every kg over 15 kg's; Weight>15; Shipping=175

So basically anything under 15 kgs is R165 & anything over is R5 p/kg..

Can anyone help?

Please Log in or Create an account to join the conversation.

Shipping Rate 18 Sep 2017 12:15 #2

Dear Augrafi,
The easiest way would be to use the advanced version with a formula for the shipping cost:
Name=Shipping below 15 kg; Weight<=15; Shipping=165
Name=Shipping above 15 kg - R5 for every kg over 15 kg; Weight>15; Shipping=165 + 5*ceil(weight-15)
Please note that your rules did not specify shipping costs if Weight=15. I added the = in the first rule.

If you don't want to spend money on the advanced version, you'll have to write one rule for each kg above 15kg:
Name=Shipping below 15 kg; Weight<=15; Shipping=165
Name=Shipping above 15 kg - R5 for every kg over 15 kg; 15<Weight<=16; Shipping=170
Name=Shipping above 15 kg - R5 for every kg over 15 kg; 16<Weight<=17; Shipping=175
Name=Shipping above 15 kg - R5 for every kg over 15 kg; 17<Weight<=18; Shipping=180
Name=Shipping above 15 kg - R5 for every kg over 15 kg; 18<Weight<=19; Shipping=185
Name=Shipping above 15 kg - R5 for every kg over 15 kg; 19<Weight<=20; Shipping=190
Name=Shipping above 15 kg - R5 for every kg over 15 kg; 20<Weight<=21; Shipping=195
....
Name=Shipping above 15 kg - R5 for every kg over 15 kg; 30<Weight; Shipping=245

If you don't have an upper bound for the weight, you'll have to stop somewhere and put an upper limit on the shipping, like in the final rule above.

Best regards,
Reinhold

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular