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

disable terms and conditions/privacy from checkout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-27-2011, 11:05 AM
 
rawguru rawguru is offline
 

Member
  
Join Date: Oct 2004
Posts: 15
 

Question disable terms and conditions/privacy from checkout

How do I remove or disable the

I accept the "Terms & Conditions" and "Privacy statement"
from the checkout page?

Thanks!
__________________
Have the best day ever!
Alex
www.rawguru.com
www.rawfoodchat.com
Reply With Quote
  #2  
Old 03-30-2011, 05:33 PM
 
Intellutions Intellutions is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 41
 

Default Re: disable terms and conditions/privacy from checkout

I would like to disable this as well. I'm surprised there is no option in the admin side to turn this off. (unless I missed it.)

Anyone have a suggestion?

Thank you,
Rich

P.S. Running 4.4.2
__________________
Intellutions, LLC
Reply With Quote
  #3  
Old 03-30-2011, 05:55 PM
 
Intellutions Intellutions is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 41
 

Default Re: disable terms and conditions/privacy from checkout

I was able to modify a template file and successfully removed the option. I'm on 4.4.2 and using the One Page AJAX Checkout, and this is the change I made:

In this file: /common_files/modules/One_Page_Checkout/opc_summary.tpl

Changed this code:
Code:
<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:"terms_url":"`$xcart_web_dir`/pages.php?alias=conditions":"privacy_url":"`$xcart_web_dir`/pages.php?alias=business"} </label> </div>
..to this code:
Code:
<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:"terms_url":"`$xcart_web_dir`/pages.php?alias=conditions":"privacy_url":"`$xcart_web_dir`/pages.php?alias=business"} </label> </div>

Changes are in the 1st and 3rd lines. 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.)

It's working in Firefox/Chrome/IE just fine for me in 4.4.2.

Rich
__________________
Intellutions, LLC
Reply With Quote

The following 4 users thank Intellutions for this useful post:
admin@digitalpaperpress.c (04-02-2011), aol (04-16-2011), sewingkc (06-08-2011), Yrik (04-01-2011)
  #4  
Old 04-01-2011, 04:45 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: disable terms and conditions/privacy from checkout

Moving to "Storefront Design & Template Editing in v 4.4.x" forum.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #5  
Old 04-01-2011, 05:24 AM
 
exsecror exsecror is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,284
 

Default Re: disable terms and conditions/privacy from checkout

Yeah they really need a way to disable that because not all stores need (or are supposed) to use that. Mainly stores specializing in e-goods or subscription services require that but not physical merchandise.
Reply With Quote
  #6  
Old 04-02-2011, 04:32 PM
 
ymonline ymonline is offline
 

Newbie
  
Join Date: Sep 2010
Posts: 7
 

Default Re: disable terms and conditions/privacy from checkout

By the way, the same modification works if you use the Fast Lane Checkout method for 4.4.2.

Make the modification to:

/common_files/modules/Fast_Lane_Checkout/checkout_3_place.tpl

The code should be around line 85.

Thank you for the original solution!
__________________
https://www.young-musicians.com
XCart Gold 4.4.2 (all modules)
Apple Look Skin from 7dana
CDSEO Pro
xCMS
BCSE Point of Sale
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 05:16 AM.

   

 
X-Cart forums © 2001-2020