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

How to remove Terms & Conditions

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 04-28-2016, 09:11 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How to remove Terms & Conditions

I don't have a copy of the code where I am so I am guessing.

skin/common_files/Fast_Lane_Checkout/checkout_3_place.tpl I think?
Of course you should copy it to your custom skin and make the change there.

Just find "<input type="checkbox" name="accept_terms"/>" or something similar. Change it to hidden input type.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
qualiteam (05-03-2016)
  #12  
Old 05-02-2016, 06:00 AM
 
telimon telimon is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 92
 

Default Re: How to remove Terms & Conditions

Thanks
__________________
4.710
Reply With Quote
  #13  
Old 07-20-2016, 05:44 PM
 
brettsontfarrey brettsontfarrey is offline
 

Member
  
Join Date: Oct 2007
Location: Madison, WI
Posts: 12
 

Default Re: How to remove Terms & Conditions

This worked for me...

Open: skin/common_files/modules/Fast_Lane_Checkout/checkout_3_place.tpl

change this:
<input type="checkbox" name="accept_terms" id="accept_terms" value="Y" />

to this:
<input type="hidden" name="accept_terms" id="accept_terms" value="Y" />


Open: skin/common_files/modules/Fast_Lane_Checkout/checkout_js.tpl

change this:

if (termsObj && !termsObj.checked) {
xAlert(txt_accept_terms_err, lbl_warning, 'W');
return false;
}

to this:

if (termsObj && !termsObj.checked) {
//xAlert(txt_accept_terms_err, lbl_warning, 'W');
//return false;
}
__________________
xcart 4.2.3
Reply With Quote

The following user thanks brettsontfarrey for this useful post:
qualiteam (07-21-2016)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:27 PM.

   

 
X-Cart forums © 2001-2020