Show product weight on category pages
This code displays the weight (if set) of each product on the category pages.
This code displays the weight (if set) of each product on the category pages.
This code displays the total cart weight to the customer on the cart and checkout pages.
If you want to restrict orders based on a maximum or minimum order weight, you can do so with the following code. This function displays an error message for total cart weights above 100 in three places – on the cart page, on the checkout page and when an order is initiated. The order will … Read moreDeny checkout based on cart weight
This code can be used to add weight-based shipping options to the checkout process. The various shipping options are first defined in settings as a flat rate in the usual way. You will then need to find the ID for each method that you want to manage. Right-click on the method heading and choose inspect … Read moreApply weight-based shipping options in the checkout process