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
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


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.

Dedication and passion goes to those who are able to push and merge a project.

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 406 times


Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


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 95 guests