I managed to rename Free shipping description to say Free Shipping (5-8 business days) in...
catalog/language/english/shipping/free.php
e.g.
Free Shipping
FREE Standard Shipping (5-8 business days)
I'm trying to do the same with Flat shipping to say for description 'Standard Shipping (3-5 business days) in...
catalog/language/english/shipping/flat.php
e.g.
Flat Rate
Standard Shipping (3-5 business days)
but when I change the flat.php file it only changes the title but not the description...is there another file somewhere for this???
flat.php should have two lines of text, the title and the description:
You need to change both.
Code: Select all
$_['text_title'] = 'Flat Rate';
$_['text_description'] = 'Flat Shipping Rate';
Johnathan wrote:flat.php should have two lines of text, the title and the description:
You need to change both.Code: Select all
$_['text_title'] = 'Flat Rate'; $_['text_description'] = 'Flat Shipping Rate';
I did that....when I change both the title and description change... e.g.
Standard Shipping (3-5 business days) <-- title
Standard Shipping (3-5 business days) <-- second line right under title
but when I change just
$_['text_description'] = 'Flat Shipping Rate';
nothing happens


Congratulations! You've found a bug in 1.4.9.3.
The Flat Rate shipping file is pulling the title and description from the text_title wording. Here's the fix:
IN:
REPLACE:
WITH:

IN:
Code: Select all
/catalog/model/shipping/flat.php
Code: Select all
$quote_data['flat'] = array(
'id' => 'flat.flat',
'title' => $this->language->get('text_title'),
Code: Select all
$quote_data['flat'] = array(
'id' => 'flat.flat',
'title' => $this->language->get('text_description'),
I guess my congratulations were premature. Someone else beat you to it:
http://forum.opencart.com/viewtopic.php ... 20#p121645
http://forum.opencart.com/viewtopic.php ... 20#p121645
Who is online
Users browsing this forum: No registered users and 16 guests