[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:
Where '$weight is the total calculated weight.
Then in your template do:
HOWEVER YOU WANT TO FORMAT YOUR OUTPUT
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.
Thanks for the help…You all are awsome as always!.
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