I would like to remove the weight information from the "Estimate Shipping & Taxes" pop-up.
Is there a way to do this? I haven't found anything in the templates.
OC 4.1.0.0
Is there a way to do this? I haven't found anything in the templates.
OC 4.1.0.0
Attachments
Screenshot 2025-07-20 093651.jpg (31.21 KiB) Viewed 193 times
Last edited by samm91 on Mon Jul 21, 2025 10:22 pm, edited 1 time in total.
From the admin navigate to system/settings edit the settings under options tab select NO for cart page weight.
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
Can you share the site url
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
In OpenCart 4.1.0.3, you'd have to modify the file extension/opencart/catalog/model/shipping/weight.php for function getQuote.
In OpenCart 3.0.4.1, you'd have to modify the file catalog/model/extension/shipping/weight.php for function getQuote.
This could be done via a simple event handler.
BTW.: Don't use any OpenCart 4 for a live site, it's yet subject to bugfixes and development!
In OpenCart 3.0.4.1, you'd have to modify the file catalog/model/extension/shipping/weight.php for function getQuote.
This could be done via a simple event handler.
BTW.: Don't use any OpenCart 4 for a live site, it's yet subject to bugfixes and development!
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Thank you very much!
Now at least I know that this is beyond my knowledge. I don't know what to edit just to hide the text.
In Germany, we have a complicated shipping system that's based on weight and packaging dimensions. Therefore, the weight information in the front-end isn't always correct and is confusing. But okay! It is like it is.
About OC 4: Yes, I've read that a lot. It would have been good if I'd read this first when upgrading from 1.5. I thought the higher version number was better. There's also no indication in the download area that version 4 shouldn't be used for the live shop.
Now at least I know that this is beyond my knowledge. I don't know what to edit just to hide the text.

In Germany, we have a complicated shipping system that's based on weight and packaging dimensions. Therefore, the weight information in the front-end isn't always correct and is confusing. But okay! It is like it is.
About OC 4: Yes, I've read that a lot. It would have been good if I'd read this first when upgrading from 1.5. I thought the higher version number was better. There's also no indication in the download area that version 4 shouldn't be used for the live shop.
Ahhhh... think I've got it:
replaced in line 61
with
replaced in line 61
Code: Select all
'name' => $result['name'] . ' (' . $this->language->get('text_weight') . ' ' . $this->weight->format($weight, $this->config->get('config_weight_class_id')) . ')',
Code: Select all
'name' => $result['name'],
Who is online
Users browsing this forum: samm91 and 10 guests