I am using the weight based shipping module in opencart. I have had to be creative with the numbers and the prices. I would like to remove the bit in brackets where it says the "UK Shipping (Weight = XXkg)" Can someone point me in the right direction please
In catalog/model/shipping/weight.php , the line:
Code: Select all
'title' => $result['name'] . ' (' . $this->language->get('text_weight') . ' ' . $this->weight->format($weight, $this->config->get('config_weight_class_id')) . ')',
which bit do I need to remove - dont want the brackets or the content of the brackets if possible.
Sorry but I dont want to mess it up so i would rather be sure than fiddle about - thanks for your help
Sorry but I dont want to mess it up so i would rather be sure than fiddle about - thanks for your help
midlifedesign wrote:which bit do I need to remove - dont want the brackets or the content of the brackets if possible.
Sorry but I dont want to mess it up so i would rather be sure than fiddle about - thanks for your help
You want there to be shown only UK Shipping ? And not the weight including the brackets?
Replace the line
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'],
Who is online
Users browsing this forum: No registered users and 16 guests