ortizwerx
Advanced Member
USA
198 Posts Pre-sales questions only (More Details...)
|
Posted - 03/05/2022 : 07:48:35
Hi,
How do I remove Coupon Code verbiage in the cart?
Thank you, Eddie
Eddie Ortiz
|
ortizwerx
Advanced Member
USA
198 Posts Pre-sales questions only (More Details...)
|
Posted - 03/05/2022 : 07:51:14
Also, how do I change the verbiage in the "I'd like this shipped to a different address" from "Postcode" to "Zip"?
Eddie Ortiz
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/05/2022 : 08:12:56
Hi Eddie Head to vsadmin > inc & locate the languagefile_en.php & open that in a text editor - Notepad++ is what I always use. Once open search for the wording you would ike to edit & copy that full line, edit it accordingly then add that line to your includes.php file. Reason for that is to prevent any future updaters overwriting your edits. Ctrl+F5 to force edits  ----------------------------------- Steve Manchester UK Make it as simple as possible, but not simpler.
Edited by - 1818charlie on 03/05/2022 08:15:35
|
ortizwerx
Advanced Member
USA
198 Posts Pre-sales questions only (More Details...)
|
Posted - 03/05/2022 : 08:36:12
Thank you so much Steve! Cheers!
Eddie Ortiz
|
ortizwerx
Advanced Member
USA
198 Posts Pre-sales questions only (More Details...)
|
Posted - 03/05/2022 : 08:42:37
I can remove the verbiage but not the input field. How do i remove that as well?
Thank you, Eddie
Eddie Ortiz
|
ortizwerx
Advanced Member
USA
198 Posts Pre-sales questions only (More Details...)
|
Posted - 03/05/2022 : 08:45:57
Oh and one more thing. How do I add a company input field to my customer details?
Sorry for all of the questions.
Thank you, Eddie
Eddie Ortiz
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/05/2022 : 09:03:34
Hi Eddie
You can add the following to includes.php which will show another field at the top or the order form prior to the customer name field
$extraorderfield1="Company Name"; This will add a company name field to the top of your cart checkout page. You can edit the text accordingly.
$extraorderfield1required=TRUE; This will make this field obligatory, setting to false will make it optional
----------------------------------- Steve Manchester UK
Make it as simple as possible, but not simpler.
Edited by - 1818charlie on 03/05/2022 09:04:02
|
ortizwerx
Advanced Member
USA
198 Posts Pre-sales questions only (More Details...)
|
Posted - 03/05/2022 : 09:27:28
Thanks again, Steve.
Any idea how I can remove the entire line for Coupon Code including the input field? I managed to remove the verbiage but not the input field.
Thank you, Eddie
Eddie Ortiz
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/05/2022 : 09:54:50
Hi Eddie
I have only tried this very quickly as I have to go out & it has removed the coupon input field on cart.php page. Have a look in ectcart.css for
div.cartcoupon > input { margin: 0; }
& change to
div.cartcoupon > input { margin: 0; display: none; }
----------------------------------- Steve Manchester UK
Make it as simple as possible, but not simpler.
Edited by - 1818charlie on 03/05/2022 09:55:40
|
Vince
Administrator
42874 Posts |
Posted - 03/05/2022 : 10:37:52
|
ortizwerx
Advanced Member
USA
198 Posts Pre-sales questions only (More Details...)
|
Posted - 03/05/2022 : 10:49:58
Understood, I will add it to style.css. I know altering the style sheets that get updated is not advised.
Thank you, Eddie
Eddie Ortiz
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/05/2022 : 11:52:48
Hi Eddie Apologies for leaving out adding the amended css code to the style.css, cheers Vince  ----------------------------------- Steve Manchester UK Make it as simple as possible, but not simpler.
|
ortizwerx
Advanced Member
USA
198 Posts Pre-sales questions only (More Details...)
|
Posted - 03/07/2022 : 08:08:01
Thanks so much for clarifying. I'm all set!
Eddie
Eddie Ortiz
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/07/2022 : 08:13:56
Hi Eddie That's good to hear  ----------------------------------- Steve Manchester UK Make it as simple as possible, but not simpler.
|
|
|