Hi,
How can I get the order weight?
Which is the right php variable?
Vm 3.6 - php 7.3
Thanks a lot.
Davide
when
In the invoice/order confirmation, for example.
It really depends on what you want to do
From what I can see - if you are aiming to add this information to the templates for display/print, you may find that you will have to calculate it from the order_items data.
The shipping plugin does store order_weight that was used at the time shipping was calculated - you could get that data from the table - but it may not reflect the current state of the order.
Hi,
I've seen the ther order_weight is stored in the shipping orders table.
I would like to have that value in a variable! :)
Thanks.
Davide
Well you will have to create it then :-)
Just use the order details to get the shipping table entry and get it from there
Ehm... thanks! :)
Any help? :)
QuoteAny help?
Any help for what?
The post from AH is finally help.
You must develop self, why are you don't understand?
Maybe you are waiting for code :D
I will not be posting code - it is easy for a coder to do in php as a template override if necessary