Post by Tom Cat » Mon Apr 16, 2018 2:35 am

Version 1.5.6.1

I wish to change the text what the customers sees on checkout at Step 4: Delivery Method
Weight Based Shipping

"Add Comments About Your Order" - I wish to add / change this line of text.

Which system file must I look for to edit this text please?

Many thanks!

New member

Posts

Joined
Thu Mar 08, 2012 4:24 am

Post by cyclops12 » Mon Apr 16, 2018 3:06 am

Look in catalog/language/english(if thats your language)/checkout/checkout.php

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by Tom Cat » Mon Apr 16, 2018 4:19 pm

Works great thank you!

Only one problem, it changes the text on both comment boxes of the checkout.
Step 4: Delivery Method
and
Step 5: Payment Method

Anyway to just change one of the Comments box text?

Any help would be great thanks!

New member

Posts

Joined
Thu Mar 08, 2012 4:24 am

Post by cyclops12 » Tue Apr 17, 2018 2:04 am

You would need to edit catalog/view/theme/YOUR_THEME/template/checkout/shipping_method.tpl and find

Code: Select all

<b><?php echo $text_comments; ?></b>
and change to

Code: Select all

<b><?php echo $text_comments_shipping; ?></b>

Then in catalog/language/YOUR_LANGUAGE/checkout/checkout.php
Find

Code: Select all

$_['text_comments']                  = 'Add Comments About Your Order';
Add underneath

Code: Select all

$_['text_comments_shipping']                  = 'WHATEVER TEXT YOU WANT';

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by ru-lefthanded » Thu Jun 17, 2021 11:28 pm

I followed the above and the field titles changed BUT when the order comes through on Sales/Orders, it only shows one comment i.e. "Customer Comment" - and when you type in anything on the payments page, it appears to over-write the info you put in on the previous page!
How do you fix this & also, how do you get the 2nd field to show up on the order paperwork?

New member

Posts

Joined
Tue Sep 03, 2013 3:39 am
Who is online

Users browsing this forum: No registered users and 120 guests