Post by ocartman » Fri Feb 24, 2012 12:29 am

I need to remove the weight from the cart checkout page.
I turned the setting off in the admin/system/settings/option/
Display Weight on Cart Page:
Show the cart weight on the cart page

After this settings is set to: NO the weight is still in the cart checkout page.
United States (Weight: 0.20lb): $5.99

What i need the line to be is:
United States : $5.99

The main reason is for the Quickbooks export extension will make this an item on import into Quickbooks.

Active Member

Posts

Joined
Fri Oct 15, 2010 12:01 am

Post by OpenCart Addons » Fri Feb 24, 2012 12:35 am

Hey ocartman,

Modify the file:
catalog/model/shipping/weight.php

Find:

Code: Select all

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

Code: Select all

'title'        => $result['name'],
Regards,
Joel,

Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by ocartman » Fri Feb 24, 2012 4:14 am

Joel

Thank You very much for the reply, that worked out perfect.

Would you know how to have this say "Shipping"?
It would be a replacement text for all the Geo Zone shipping names. The reason is i would like to import these into quick books and have one item for all the shipping options.

Active Member

Posts

Joined
Fri Oct 15, 2010 12:01 am

Post by OpenCart Addons » Fri Feb 24, 2012 6:25 am

Hey,

Just change the $result['name'] in the above modification to 'Shipping'.


Joel.

Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by Margaretha » Sun May 20, 2012 3:15 am

I've the same problem. OC 1.5.1.3.
Already turned off (no) in the system page. Tried the OpenCart Addons solution, but I still look at the weight in the check out page (shipping choice).
My site is in italian language.
How can I do?

New member

Posts

Joined
Sat Mar 26, 2011 6:23 pm
Who is online

Users browsing this forum: No registered users and 1 guest