I am using Weight Based Shipping in OC 2.0.1.1. In Settings > Options > Checkout I have set "Display Weight On Cart Page" to "No". However in Checkout under Delivery Method - Weight Based Shipping it is still showing the weight. See att file.
Is there any other setting that I am missing or is this a bug?
- Harish
The settings one controls the weight at the title on the cart page
For the individual shipping level titles, they don't have an master off button and are hardcoded into the extensions themselves.
You can do 1 of 2 things.
- Add a check for the global show weight setting to the individual shipping extension code
or
- Just remove that weight stuff from displaying
Option 2 is the easiest:
1. EDIT: catalog/model/shipping/weight.php (or whatever other shipping extension)
2. FIND:
3. REPLACE WITH:
For the individual shipping level titles, they don't have an master off button and are hardcoded into the extensions themselves.
You can do 1 of 2 things.
- Add a check for the global show weight setting to the individual shipping extension code
or
- Just remove that weight stuff from displaying
Option 2 is the easiest:
1. EDIT: catalog/model/shipping/weight.php (or whatever other shipping extension)
2. FIND:
Code: Select all
'title' => $result['name'] . ' (' . $this->language->get('text_weight') . ' ' . $this->weight->format($weight, $this->config->get('config_weight_class_id')) . ')',
Code: Select all
'title' => $result['name'],
Thanks, just used this on 4.0.2.2 however "title" is replaced with "name"Qphoria wrote: ↑Thu Mar 26, 2015 9:54 pmThe settings one controls the weight at the title on the cart page
For the individual shipping level titles, they don't have an master off button and are hardcoded into the extensions themselves.
You can do 1 of 2 things.
- Add a check for the global show weight setting to the individual shipping extension code
or
- Just remove that weight stuff from displaying
Option 2 is the easiest:
1. EDIT: catalog/model/shipping/weight.php (or whatever other shipping extension)
2. FIND:3. REPLACE WITH:Code: Select all
'title' => $result['name'] . ' (' . $this->language->get('text_weight') . ' ' . $this->weight->format($weight, $this->config->get('config_weight_class_id')) . ')',
Code: Select all
'title' => $result['name'],
1. EDIT: catalog/model/shipping/weight.php (or whatever other shipping extension)
2. FIND:
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: No registered users and 5 guests