Order weight

Order weight for Shop-Script

Order weight in the cart and backend

After plugin activation a string with the order weight appears on the page with the order in the backend. If the weight is not set for all products in the order, a warning is displayed listing the articles and names of products for which the weight is not specified (a very useful option, since the weight of the order directly affects the delivery cost). The text of all labels displayed can be changed in the plugin settings. Also, the weight of the order can be displayed in the cart. To do this, enable the appropriate option in the plugin settings and add the helper call "{shopAweightHelper::showWeight($cart.items)}" to the cart.html file of the template (works only for step-by-step checkout). The output of information in the cart and backend works independently.