X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to remove Terms & Conditions (https://forum.x-cart.com/showthread.php?t=57362)

totaltec 04-28-2016 09:11 PM

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.

telimon 05-02-2016 06:00 AM

Re: How to remove Terms & Conditions
 
Thanks

brettsontfarrey 07-20-2016 05:44 PM

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;
}


All times are GMT -8. The time now is 07:56 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.