Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Terms and conditions tick box at checkout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-06-2010, 11:38 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Terms and conditions tick box at checkout

Hi all is there a way of having a tick already in the box I accept terms and conditions at checkout, or can terms and condition be switched off anywere

Thanks to all
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #2  
Old 11-06-2010, 12:40 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Terms and conditions tick box at checkout

I just altered /common_files/modules/One_Page_Checkout/opc_summary.tpl


and removed this -

<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?pageid=3":"privacy_url":"`$xcart_web_dir `/pages.php?pageid=4"}
</label>
</div>

but when i click submit order it said i have to accept terms and conditions???

Any advice please
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote

The following user thanks a1deano for this useful post:
kustomrides (01-17-2011)
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:27 AM.

   

 
X-Cart forums © 2001-2020