First a big thanks about TableRates : I really appreciate to see the flexibility of Commerce
Now my small problem
I want to disable a TableRates shipping method if the order weight is superior to a specific value.
But itâs look not possible with the current version of TableRates, unless I miss somethingâŚ
That might work, but doesnât technically prevent the shipping method from being available. It may still be set on an order or be automatically selected if itâs the first available shipping method.
Total weight is on the shipment, so that should be in {{ shipment[0].total_weight }} and the unit in {{ shipment[0].total_weight_unit }} - the unit depends on the unit used for the products added to the cart.
I have found a workaround : my customer has only one type of identical products, with a unique weight.
So I simply used the field âMax. Order Item Quantityâ to the correct item/weight.
But in another context, it could be useful to have a field âMax. Order Weightâ for some shipment caseâŚ