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
 All Forums
 Technical
 ASP (Windows server) versions
 Add check box on checkout page
Author « Topic »  

safeandsound
Advanced Member

USA
168 Posts

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

Posted - 09/10/2018 :  08:22:43  
Would it be possible to add a checkbox during the checkout page for a customer to check a box "Call me for expedited shipping quote". Please let me know how this can be done, thanks!

Andy
ECT Moderator

95440 Posts

Posted - 09/10/2018 :  08:34:02  
Hi

You could add this to includes.asp

extracheckoutfield1="Call me for expedited shipping quote"
extracheckoutfield1html="<input type=""checkbox"" name=""ectfield"" value=""Yes"">"
extracheckoutfield1html="<select name=""ectfield"" size=""1""><option value=""No"">No</option><option value=""Yes"">Yes</option></select>"

Andy

Please feel free to review / rate our software

safeandsound
Advanced Member

USA
168 Posts

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

Posted - 09/10/2018 :  13:56:29  
Thanks Andy,

How do I make it a required field and change the color to red? Thanks!

pdraper
Advanced Member

New Zealand
160 Posts

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

Posted - 09/10/2018 :  16:03:25  
extracheckoutfield1required=True

I believe is the bit you need

Paul

dbdave
ECT Moderator

USA
10468 Posts

Posted - 09/10/2018 :  16:40:32  
Here are the details on the extra checkout fields
https://www.ecommercetemplates.com/help/ecommplus/parameters.asp#exorder

Remember, there are shortcuts to the .asp and .php parameters on the "how it works" menu on the left sidebar
<--------

safeandsound
Advanced Member

USA
168 Posts

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

Posted - 09/10/2018 :  18:01:59  
Thanks,

Is there a way to make only the "Yes" option red?

dbdave
ECT Moderator

USA
10468 Posts

Posted - 09/10/2018 :  20:27:16  
Try this

extracheckoutfield1html="<select name=""ectfield"" size=""1""><option value=""No"">No</option><option style=""color:red;"" value=""Yes"">Yes</option></select>"

Edited by - dbdave on 09/10/2018 20:27:50

safeandsound
Advanced Member

USA
168 Posts

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

Posted - 09/11/2018 :  04:52:35  
That worked, thanks!
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.01 seconds. Snitz Forums 2000