Can someone give me the html code for the total weight in the Checkout page?

[color=#282828][font=arial, verdana, tahoma, sans-serif]Can [/font][/color]someone [color=#282828][font=arial, verdana, tahoma, sans-serif]give me the php hook/code for the total weight in the Checkout page?? [/font][/color]

This would be good to be able to have total weight. I found this post giving details - please let me know if it works (or if you have already tried it and it doesn't) as I would wish to include it in either the invoice or packing slip in order to check it against the packed gooods (both for checking we have packed the correct products and for checking we have the correct weight setting for the items in the cart).



[url=“Display Total weight in Cart-Checout Page - Configuration - CS-Cart Community Forums”]Display Total weight in Cart-Checout Page - Configuration - CS-Cart Community Forums



Original post by tbirnseth…



Look at the core/fn.cart.php where it calculates the total weight to pass to the realtime shipping quote routines. You can probably just do:

Registry::get('view')->assign('shipping_weight', $weight);



Where '$weight is the total calculated weight.



Then in your template do:

{if $shipping_weight}

HOWEVER YOU WANT TO FORMAT YOUR OUTPUT

{/if}

The Alt-team has a mod for this, however, it looks like its not update to 3.01 yet. Don't know what version you have.

[url=“http://www.alt-team.com/cs-cart-total-shipping-weight-add-on.html”]http://www.alt-team.com/cs-cart-total-shipping-weight-add-on.html[/url]

Bob

Thanks for the help…You all are awsome as always!.

Hello!



Our “Total shipping weight” add-on is compatible with CS-Cart 2.2.x and we've already updated it to CS-Cart 3.0.1.



Best regards, Alt-team