Post by veryvinyl » Sun Mar 08, 2015 7:31 am

Found a thread that dealt with the old opencart but cant find how to do it for my opencart 2 set in options no to show weight but still shows.

Newbie

Posts

Joined
Sun Mar 08, 2015 7:27 am

Post by veryvinyl » Fri Mar 20, 2015 2:02 am

Can anyone help with this?

Newbie

Posts

Joined
Sun Mar 08, 2015 7:27 am

Post by Johnathan » Fri Mar 20, 2015 11:47 pm

The edit is exactly the same for OpenCart 2.0, all the way back to OpenCart 1.5.1:

Code: Select all

IN:
/catalog/model/shipping/weight.php

REPLACE:
'title'        => $result['name'] . '  (' . $this->language->get('text_weight') . ' ' . $this->weight->format($weight, $this->config->get('config_weight_class_id')) . ')',

WITH:
'title'        => $result['name'], 

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by xsteved » Mon Mar 23, 2015 9:51 am

Thank you, Johnathan. Your answer helped me as well. :)

New member

Posts

Joined
Tue Dec 24, 2013 4:47 am

Post by veryvinyl » Tue Mar 24, 2015 1:16 am

Thanks completely different to other answers i found :)

Newbie

Posts

Joined
Sun Mar 08, 2015 7:27 am
Who is online

Users browsing this forum: No registered users and 2 guests