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.
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.
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';
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.ma701ss wrote: ↑Tue Jul 25, 2017 4:33 amThanks, 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:Also is it possible to add more than one comment box?Code: Select all
cataloglanguageenglishcheckoutshipping.php Change the variable for $_['text_comments'] = 'Add Comments About Your Order'; to $_['text_comments'] = 'Specify Size';
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.
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?labeshops wrote: ↑Tue Jul 25, 2017 9:03 pmFor 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.ma701ss wrote: ↑Tue Jul 25, 2017 4:33 amThanks, 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:Also is it possible to add more than one comment box?Code: Select all
cataloglanguageenglishcheckoutshipping.php Change the variable for $_['text_comments'] = 'Add Comments About Your Order'; to $_['text_comments'] = 'Specify Size';
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.
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.
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.
Who is online
Users browsing this forum: No registered users and 15 guests