Setting up shipping criteria with boolean OR

  • Posts: 87
  • Thank you received: 5
  • Hikashop Business
11 years 5 months ago #106330

Hi,

I'm using the manual shipping plugin to set up different shipping costs based on the total weight and size of my parcels.
I have a higher shipping rate when an order is above a certain weight OR a certain volume. Right now I have set up 2 different shipping methods: one that takes effect above a certain weight and one that is valid above a certain volume.

Now, when an order is placed in the cart that matches both the weight and volume criterion, the higher shipping rate is shown TWO times; once for the high weight and once for the high volume.

Is there a way to set up only ONE criterion on a shipping rate, so that it is shown when an order matches either the weight OR the volume?

Kind regards,
Chris

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #106346

Hi Chris,

Setting up only one method isn't possible but you can easily get off this problem.
If your maximum weight is X, then the shipping method in case the maximum volume is exceed just need a maximum weight of X-1.
So if the weight is too big, method 1 will be used. If the volume is too big, method 2 will be used, and if you have both, method 1 will be used because the weight is exceed to use method 2.

I hope it's clear enough :)

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

Time to create page: 0.063 seconds
Powered by Kunena Forum