Post by ma701ss » Tue Jul 25, 2017 3:59 am

Hi, I've Googled but can't find an answer to this. Is there a way to add a comments box to the checkout page, for example, so the customer can add instructions for delivery, etc.?

Newbie

Posts

Joined
Tue Jul 25, 2017 3:57 am

Post by labeshops » Tue Jul 25, 2017 4:13 am

It is already built into opencart (has been since v 1.5 at least). It's part of step 4 "Add Comments About Your Order"

If it is not showing on your store, my guess is your theme removed it.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by ma701ss » Tue Jul 25, 2017 4:33 am

labeshops wrote:
Tue Jul 25, 2017 4:13 am
It is already built into opencart (has been since v 1.5 at least). It's part of step 4 "Add Comments About Your Order"

If it is not showing on your store, my guess is your theme removed it.
Thanks, I found it. How can I change the text from "Add comments about your order" to something else? I found some code but can't find the pho file mentioned:

Code: Select all

cataloglanguageenglishcheckoutshipping.php

Change the variable for
$_['text_comments'] = 'Add Comments About Your Order';
to
$_['text_comments'] = 'Specify Size';
Also is it possible to add more than one comment box?

Newbie

Posts

Joined
Tue Jul 25, 2017 3:57 am

Post by labeshops » Tue Jul 25, 2017 9:03 pm

ma701ss wrote:
Tue Jul 25, 2017 4:33 am
labeshops wrote:
Tue Jul 25, 2017 4:13 am
It is already built into opencart (has been since v 1.5 at least). It's part of step 4 "Add Comments About Your Order"

If it is not showing on your store, my guess is your theme removed it.
Thanks, I found it. How can I change the text from "Add comments about your order" to something else? I found some code but can't find the pho file mentioned:

Code: Select all

cataloglanguageenglishcheckoutshipping.php

Change the variable for
$_['text_comments'] = 'Add Comments About Your Order';
to
$_['text_comments'] = 'Specify Size';
Also is it possible to add more than one comment box?
For v3, editing text is extremely easy. Go to Design > Language editor. Select checkout/checkout for the route, find text_comments for the key and change the value to whatever you want and save it.

Yes, another comment box can be added though it would require a more complex modification. You could pay a developer to do it for you i you don't know coding.

You can also add a text field to a product thru options if you need something specific for that product to be added.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by ma701ss » Wed Jul 26, 2017 1:28 am

labeshops wrote:
Tue Jul 25, 2017 9:03 pm
ma701ss wrote:
Tue Jul 25, 2017 4:33 am
labeshops wrote:
Tue Jul 25, 2017 4:13 am
It is already built into opencart (has been since v 1.5 at least). It's part of step 4 "Add Comments About Your Order"

If it is not showing on your store, my guess is your theme removed it.
Thanks, I found it. How can I change the text from "Add comments about your order" to something else? I found some code but can't find the pho file mentioned:

Code: Select all

cataloglanguageenglishcheckoutshipping.php

Change the variable for
$_['text_comments'] = 'Add Comments About Your Order';
to
$_['text_comments'] = 'Specify Size';
Also is it possible to add more than one comment box?
For v3, editing text is extremely easy. Go to Design > Language editor. Select checkout/checkout for the route, find text_comments for the key and change the value to whatever you want and save it.

Yes, another comment box can be added though it would require a more complex modification. You could pay a developer to do it for you i you don't know coding.

You can also add a text field to a product thru options if you need something specific for that product to be added.
Thanks but I'm using v2.2. How can I change the comments in this version, maybe using the code I pasted somehow? Otherwise is it simple to upgrade from v2.2 to v3.0?

Newbie

Posts

Joined
Tue Jul 25, 2017 3:57 am

Post by labeshops » Wed Jul 26, 2017 3:16 am

Okay, then you need to post your question in the v2 forum and NOT the v3 forum where you have it.

You would need to edit the language file you originally cited in v2.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by ma701ss » Wed Jul 26, 2017 4:06 am

labeshops wrote:
Wed Jul 26, 2017 3:16 am
Okay, then you need to post your question in the v2 forum and NOT the v3 forum where you have it.

You would need to edit the language file you originally cited in v2.
Ah didn't realise I'd posted in the wrong forum....

Newbie

Posts

Joined
Tue Jul 25, 2017 3:57 am
Who is online

Users browsing this forum: No registered users and 15 guests