View Single Post
  #3  
Old 01-23-2012, 02:03 PM
 
chiactivate chiactivate is offline
 

Senior Member
  
Join Date: Feb 2007
Location: Canada
Posts: 148
 

Default Re: Terms and conditions tick box at checkout

In this file: /common_files/modules/Fast_Lane_Checkout/checkout_3_place.tpl

Changed this code:
Code:
Quote:
<div class="terms_n_conditions">
<label for="accept_terms">
<input type="checkbox" name="accept_terms" id="accept_terms" value="Y" />
{$lng.txt_terms_and_conditions_note|substitute:"te rms_url":"`$xcart_web_dir`/pages.php?alias=conditions":"privacy_url":"`$xcart _web_dir`/pages.php?alias=business"}
</label>
</div>

..to this code:

Quote:
<div class="terms_n_conditions" style="display:none;">
<label for="accept_terms">
<input type="checkbox" name="accept_terms" id="accept_terms" value="Y" checked />
{$lng.txt_terms_and_conditions_note|substitute:"te rms_url":"`$xcart_web_dir`/pages.php?alias=conditions":"privacy_url":"`$xcart _web_dir`/pages.php?alias=business"}
</label>
</div>

The "style" change hides that block of HTML (I don't want to bother showing the option) and the "checked" defaults the value to on (this causes the warning message about leaving it blank to not appear.)
__________________
www.ChiMassager.com
X-cart Version 4.44

www.SEOMarketing30days.com
--> Download FREE SEO marketing Ebook (valued $50)
Attract more visitors and sales with top 5 most powerful SEO marketing strategies. Converting visitors into buyers, not just traffic!
Reply With Quote