Post by MikaelSampoerna » Sun Feb 15, 2015 12:21 am

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 =)


Posts

Joined
Sun Nov 23, 2014 10:58 pm

Post by straightlight » Mon Feb 16, 2015 1:46 am

$product_info may not be the right relative name from checkout during the loop or as the single array.

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
Who is online

Users browsing this forum: No registered users and 6 guests