Page 3 of 3

Re: [MOD] Show weight in product description

Posted: Wed Nov 24, 2010 4:54 pm
by mohit11
Hi I am using version 1.4.9.1
the above changes shows the weight amount nut not the weight unit
can someone please guide me as to how to show the weight unit for the newer version

Re: [MOD] Show weight in product description

Posted: Wed Nov 24, 2010 10:38 pm
by Johnathan

Re: [MOD] Show weight in product description

Posted: Sun Jan 09, 2011 2:13 pm
by kingdonk
Hi, im using the latest version of OC and have followed the first instructions from this forum.
The weight value does show up but it do sent state what weight that is. i.e Gram, kg.

Ive read the rest of the post but carnt figure out how to do this.

Ive seen this:
'weight' => $result['weight'],
for this: 'weight' => $this->weight->format($result['weight'], $result['weight_class_id'])

But in the first example of how to add weight do sent have 'weight' => $result['weight'], This only appears in the other examples and seems to be for adding weight to the categories and manufactures pages.
I dont need the weight to be displayed any other place other than on the product pages.
Any one finally figured this out?

Re: [MOD] Show weight in product description

Posted: Tue Mar 20, 2012 10:18 pm
by labeshops
I'm using this in 1.5.2.1 and it works fine, except displays as: Shipping Weight: 12.00000000 US Pounds - how do I trim the extra 0s? Would like it to be xx.xx

And I would also like to add the dimensions as it shows in product compare to the product page - how can I do this?
(okay found the answer to this in http://forum.opencart.com/viewtopic.php?f=20&t=21910)

Still hunting for removing the extra 0000s from weight and sizes.
(and right after I post something, I figure it out! lol Found the answer to the 0s thing http://forum.opencart.com/viewtopic.php?t=29496_

Re: [MOD] Show weight in product description

Posted: Tue Apr 16, 2013 2:22 pm
by nashirr
why in checkout weight 0kg ?

Re: [MOD] Show weight in product description

Posted: Fri Oct 09, 2015 6:57 pm
by manurawat
Does Anyone know how to achieve this in OC 2.x.x

also i want to show manufacture name in homepage or where ever product is shown weight and brand name should be display....please help me....thanks in advance...

FOR REF. WHAT I M SAYING JUST CHECK THE ATTACHED IMAGE....

Re: [MOD] Show weight in product description

Posted: Wed Aug 23, 2017 6:00 am
by Oyekunle
how can i get it done in opebcart 3