Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

quantum503
Advanced Member

United Kingdom
230 Posts

Pre-sales questions only
(More Details...)

Posted - 01/04/2021 :  02:44:03  
Hi
I would like to add a bit of custom text to the checkout page ideally underneath the phone field. Is there any way that I can do that? Alternatively if I could modify the name of the phone field to say 'mobile phone', that might suffice. Where do I find that?
Thanks
Eric

1818charlie
ECT Moderator

United Kingdom
1194 Posts

Posted - 01/04/2021 :  02:48:51  
Hi Eric

You could use the extra checkout fields - https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#exorder

Steve
Egerton Village, Bolton, UK

quantum503
Advanced Member

United Kingdom
230 Posts

Pre-sales questions only
(More Details...)

Posted - 01/04/2021 :  03:32:54  
Thanks Steve

I am already using both of the extra checkout fields, and I only really need a bit of text.

Eric

1818charlie
ECT Moderator

United Kingdom
1194 Posts

Posted - 01/04/2021 :  03:42:31  
Hi Eric

Add the following line to your includes file & that will change the wording
$GLOBALS['xxPhone']='Mobile Phone';

Note, the above line is from the languagefile_en.php file so any edits to its content should be added to includes. That is to prevent edits from being lost when the updaters are run

Steve
Egerton Village, Bolton, UK

Edited by - 1818charlie on 01/04/2021 03:46:42

quantum503
Advanced Member

United Kingdom
230 Posts

Pre-sales questions only
(More Details...)

Posted - 01/04/2021 :  03:51:54  
Hi Steve

Thanks for that, but what I really want to say is something like 'a mobile phone number is required for DPD shipping to the EU for tracking purposes now that the UK has left'.

I'd like to be able to just display that text if an EU country is selected in the checkout, but I realise that's probably a step too far...

Eric

Phil
ECT Moderator

United Kingdom
7681 Posts

Posted - 01/04/2021 :  04:22:53  
Hi Eric,

Add this to your includes.php

$extraorderfield1="Mobile No. (EU only)";
$xxCoStp2='<p>A mobile phone number is required for DPD shipping to the EU';

and the css (change to suit)

div.checkoutsteps {
text-align: center;
font-weight: bold;
padding: 8px;
margin-bottom: 8px;
color: #FF0000;
font-size: 1.2em;
}



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

quantum503
Advanced Member

United Kingdom
230 Posts

Pre-sales questions only
(More Details...)

Posted - 01/04/2021 :  06:01:00  
Thanks Phil

I wasn't aware of the $extraorderfield option. Is there any way to change where it gets inserted?

Eric

Vince
Administrator

42768 Posts

Posted - 01/04/2021 :  09:11:00  
Hi Eric
Not really. There is an $extraorderfield1 and 2 but both are displayed with the additional info. But there is also an $extracheckoutfield1 and 2 and these get displayed at the top and bottom of the customer details (name, address, tel etc) if that is what you were looking for?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Marshall
Ecommerce Template Guru

USA
1909 Posts

Posted - 01/04/2021 :  10:39:52  
You might want to consider the checkout steps as an option.

$xxCoStp1="A mobile phone number is required for DPD shipping to the EU"; // For cart page
$xxCstDtl="A mobile phone number is required for DPD shipping to the EU"; // For billing/shipping page
$xxChkCmp="A mobile phone number is required for DPD shipping to the EU"; // For payment page


Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

quantum503
Advanced Member

United Kingdom
230 Posts

Pre-sales questions only
(More Details...)

Posted - 01/05/2021 :  00:49:56  
Thanks guys

There's enough info there for me to be able to sort something out.

Eric
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000