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
 PHP (Unix / Linux / Apache) versions
 Adding an Acknowledgement Checkbox
Author « Topic »  

mafluet
New Member

USA
57 Posts

Posted - 07/03/2025 :  08:16:29  
Hi,

We've recently turned on the option to force customers to choose whether or not they want insurance.

Is it possible to add an additional required checkbox to that page the insurance option is on or somewhere else in the checkout pages that says something like "By checking this box, you've read and understand our company's shipping policies"?

Thanks,
Mike

Phil
ECT Moderator

United Kingdom
7752 Posts

Posted - 07/03/2025 :  10:57:17  
Hi Mike,
To add a checkbox on the checkout page add the following to your vsadmin/includes.php file

$extracheckoutfield1="By checking this box, you have read and understand our company's shipping policies";
$extracheckoutfield1required=TRUE;
$extracheckoutfield1reverse=TRUE;
$extracheckoutfield1html="<input type=\"checkbox\" name=\"ectfield\" value=\"Yes\">";



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

Edited by - Phil on 07/03/2025 11:38:30
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000