If this is your first visit, check our documentation. To post, register or login.

Required Check box?

Started by tording99z28 on 16 Aug 2012, 10:52 PM · Views: 693

Results 1 to 2 of 2
16 Aug 2012, 10:52 PM
#1
tording99z28 avatar

tording99z28

New Zenner

Join Date:
Aug 2012
Posts:
2
Plugin Contributions:
0

Required Check box?

Hey everybody. I am looking for a way to have a checkbox that the store users must check to indicate that they have read and understand the sizing instructions for products on my store. Is there anyway to do this so that they can not proceed onto the shopping cart until they have checked the box? Thanks in advance.

17 Aug 2012, 12:21 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,140
Plugin Contributions:
56

Re: Required Check box?

Assuming that you've got your sizing instructions defined within your conditions page's text (/includes/languages/english/html_includes/YOUR_TEMPLATE/define_conditions.php, or using your admin's Tools->Define Pages Editor and choose define_conditions.php), you could set your admin's Configuration->Regulations->Confirm Terms and Conditions During Checkout Procedure to 'true' to have the "agree to these conditions" checkbox shown on your checkout_payment page.

You'll probably need to modify the file /includes/languages/english/YOUR_TEMPLATE/checkout_payment.php to change the text associated with the selection:

define('TABLE_HEADING_CONDITIONS', '<span class="termsconditions">Terms and Conditions</span>');
define('TEXT_CONDITIONS_DESCRIPTION', '<span class="termsdescription">Please acknowledge the terms and conditions bound to this order by ticking the following box. The terms and conditions can be read <a href="' . zen_href_link(FILENAME_CONDITIONS, '', 'SSL') . '"><span class="pseudolink">here</span></a>.');
define('TEXT_CONDITIONS_CONFIRM', '<span class="termsiagree">I have read and agreed to the terms and conditions bound to this order.</span>');