Page 1 of 1

Item Weight on Cart and Checkout page (Not Total Weights)

Posted: Sun Feb 15, 2015 12:21 am
by MikaelSampoerna
Hi guys,

How to display weight of each item in cart & checkout page?
I mean each product, not total weight (like on top of page title).

This,

Code: Select all

$this->data['weight'] = $this->weight->format($product_info['weight'], $product_info['weight_class_id']);
works on product page.
But I can't make it work on cart or checkout page.

Thanks =)

Re: Item Weight on Cart and Checkout page (Not Total Weights

Posted: Mon Feb 16, 2015 1:46 am
by straightlight
$product_info may not be the right relative name from checkout during the loop or as the single array.

Re: Item Weight on Cart and Checkout page (Not Total Weights

Posted: Sun Mar 15, 2015 11:09 am
by gogoweb
There is a module we created for that purpose.
Image

Hope it is helpful to you.
http://www.opencart.com/index.php?route ... n_id=21399