X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Total weight on invoice (https://forum.x-cart.com/showthread.php?t=21032)

asder 04-09-2006 06:25 PM

Total weight on invoice
 
How can you display the total weight of an order on the invoice page.

ajj 04-09-2006 09:12 PM

Take a look here:
http://forum.x-cart.com/viewtopic.php?t=7195

May try to use the search function first next time you have question.

asder 04-10-2006 05:14 AM

I already tried that and it does not work for me. I want to show the total shipping weight on the invoice that is sent to the emails. All thats shows from the above link is a blank line no shipping weight from the order.

ajj 04-10-2006 08:50 AM

Quote:

Originally Posted by ajj
:oops:
May try to use the search function first next time you have question.



Did you test the {$total_weight_shipping} on any other page like checkout.tpl just to see if there is an value in it?

asder 04-10-2006 10:00 AM

Ok i tried {$total_weight_shipping} on the cart_totals.tpl page and i do get a weight value so there is a value there at the checkout page but there seems to be no weight value going to the invoice page

ajj 04-10-2006 12:22 PM

You cant see it on the invoice page because the variable is defined at the shipping.php. I think the best solution would be to add a new line total_weight to the orders databse to store the value there. That way you are able to read it wherever you need.

asder 04-10-2006 02:35 PM

Can you tell me how to do this

Vacman 05-15-2006 09:48 PM

Quote:

Originally Posted by ajj
You cant see it on the invoice page because the variable is defined at the shipping.php. I think the best solution would be to add a new line total_weight to the orders databse to store the value there. That way you are able to read it wherever you need.


Yes - I too would like to know how to aclomplish this...

Vacman 07-02-2006 11:24 AM

Bump...

ultimatephysique 07-21-2006 05:51 PM

I too require the weight on the invoice!

done a search cant find how to do it! :(

Any suggestions, like everyone else i can get it on the view cart, but i need it on the printed invoice!


All times are GMT -8. The time now is 09:29 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.