VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: inadcod on November 03, 2014, 09:38:32 AM

Title: Product weight in order details page
Post by: inadcod on November 03, 2014, 09:38:32 AM
Hello all,
I have a question related to product weight in virtuemart orders.
I would like to know if there is a way I can get the product weight for each product (related to product quantity as-well) and / or the total weight of all the products. I would like to echo these details on the order history page.
Please let me know if this can be done.
I am using Joomla 3.3.6 and Virtuemart 2.2.9b
Title: Re: Product weight in order details page
Post by: John2400 on November 03, 2014, 10:46:05 AM
Hi ,


Just above in the forum are many extensions related to product weights and costings. You may need to look there and the pay for an extension or for some support.
Title: Re: Product weight in order details page
Post by: inadcod on November 03, 2014, 10:54:28 AM
Well I managed to add the product weight to the cart page, and I have some specific calculations running on the cart page.

All I need is to reflect this on the order history page.

I have looked through virtuemart extensions, but none completely suited my specific needs.
If I would know how to get the product weight on the order history page than I could run the same calculations and print out my proper, needed, results.
Title: Re: Product weight in order details page
Post by: inadcod on November 05, 2014, 08:25:15 AM
I dug deeper in the virtuemart code, and found that the order details are taken from the order_items.php file.
But, unfortunately there is no reference to the product weight, only to the product quantity.
Can anyone help me out?
I need the product weight inside the order details page.