Mobile App Refresh Campaign [Banner] 2024

Product Icon

Table Rate Shipping

by  Woo
Advanced, flexible shipping. Define multiple shipping rates based on location, price, weight, shipping class or item count.

Bug in weight condition

The way conditions are queried there is no practical way of having for example one rate for packages less than 1 kg and one rate for packages more than 1 kg without both options showing up when the package is exactly 1 kg.

This is the query used for weight conditions:

‘{$weight}’ >= ( rate_min + 0 ) AND ‘{$weight}’ <= ( rate_max + 0 ) )

The fix would be checking if the weight is more than the minimum, not more than or equal – and the same for max. This also makes more sense.

The temporary solution for now is to set the maximium weight to 0.99999 kg instead of 1 for the under 1kg rate


Maksimer AS

Current Status


Last updated: June 22, 2023


Log in to comment on this feature request.