Post by feedermania » Thu Apr 01, 2021 6:33 pm

Hi,

Searched through the forum but couldn't find a topic regarding this issue...

I need to get the total weight of an order in admin backend sales order. Went through sale order model and couldn't find a function which would handle this. Does anyone know if there's one I could use? Or do I need the create a new function to sale order model or modify the getOrder function? Idea anyone?

"Copied from an old OC 1.5+ forum".

I want to do for OC 3.0.3.1

LINK: viewtopic.php?t=24589

New member

Posts

Joined
Mon Jul 30, 2018 2:48 am

Post by rjcalifornia » Thu Apr 01, 2021 8:01 pm

feedermania wrote:
Thu Apr 01, 2021 6:33 pm
Hi,

Searched through the forum but couldn't find a topic regarding this issue...

I need to get the total weight of an order in admin backend sales order. Went through sale order model and couldn't find a function which would handle this. Does anyone know if there's one I could use? Or do I need the create a new function to sale order model or modify the getOrder function? Idea anyone?

"Copied from an old OC 1.5+ forum".

I want to do for OC 3.0.3.1

LINK: viewtopic.php?t=24589
Isn't the total weight included in the product order?

Image


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by feedermania » Thu Apr 01, 2021 8:15 pm

nothing

New member

Posts

Joined
Mon Jul 30, 2018 2:48 am

Post by straightlight » Thu Apr 01, 2021 8:17 pm

rjcalifornia wrote:
Thu Apr 01, 2021 8:01 pm
feedermania wrote:
Thu Apr 01, 2021 6:33 pm
Hi,

Searched through the forum but couldn't find a topic regarding this issue...

I need to get the total weight of an order in admin backend sales order. Went through sale order model and couldn't find a function which would handle this. Does anyone know if there's one I could use? Or do I need the create a new function to sale order model or modify the getOrder function? Idea anyone?

"Copied from an old OC 1.5+ forum".

I want to do for OC 3.0.3.1

LINK: viewtopic.php?t=24589
Isn't the total weight included in the product order?
The product weight class ID is only referred to the store but is not inserted into the actual order products.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by xxvirusxx » Thu Apr 01, 2021 9:09 pm

feedermania wrote:
Thu Apr 01, 2021 8:15 pm
nothing
Nothing what?

Attachments

weight.png

weight.png (31.3 KiB) Viewed 211 times


My converted modules | Buy me a beer | Opencart upgrade service


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 6 guests