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
  #1  
Old 01-04-2011, 02:33 PM
 
Mickeyt Mickeyt is offline
 

Advanced Member
  
Join Date: Nov 2010
Posts: 68
 

Question How to remove Terms & Conditions

HI Can anybody tell me how to remove the terms&conditions from one page checkout? If I just simply comment it and then click to the button submit order, an error occurs.

Thank you

Tom
__________________
Tom

X-CART 4.4.1
Reply With Quote
  #2  
Old 01-05-2011, 02:38 AM
  TBone's Avatar 
TBone TBone is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 38
 

Default Re: How to remove Terms & Conditions

Probably the form action expects the checkbox field to be posted causing the error.
Try to create a hidden formfield with the same name as the checkbox field. Something like:

HTML Code:
<input type="hidden" value="Y" id="accept_terms" name="accept_terms">

and comment out the checkbox field.

Haven't tested it but it could work.
__________________
_____________________________________________
www.webcreatives.nl | X-Cart Shops
X-Cart Versions 4.1.x | 4.2.x | 4.3.x | 4.4.x
Parallelweg 124-14, 1948 NN BEVERWIJK
The Netherlands
Reply With Quote
  #3  
Old 01-06-2011, 10:21 AM
 
Castilleja Cotton Castilleja Cotton is offline
 

Member
  
Join Date: Sep 2010
Location: Calgary
Posts: 14
 

Default Re: How to remove Terms & Conditions

I tried that but only the button goes away. The value for the button is still not set to yes so it still asks you to click the button which is not longer there.
__________________
Xcart Gold 4.4.3
Reply With Quote
  #4  
Old 01-06-2011, 10:26 AM
 
Mickeyt Mickeyt is offline
 

Advanced Member
  
Join Date: Nov 2010
Posts: 68
 

Default Re: How to remove Terms & Conditions

Quote:
Originally Posted by Castilleja Cotton
I tried that but only the button goes away. The value for the button is still not set to yes so it still asks you to click the button which is not longer there.

I've got the same problem like you. It's still asking to check Accept terms & conditions.
__________________
Tom

X-CART 4.4.1
Reply With Quote
  #5  
Old 01-06-2011, 10:28 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: How to remove Terms & Conditions

Be careful with this - taking the button and/or the link and setting the value to Y means your customers agreed to something they didn't even see or know it exists. This would make every purchase basically illegal.
If still wanna do it - you can modify the js file that checks the form before submission
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 01-06-2011, 10:34 AM
 
Mickeyt Mickeyt is offline
 

Advanced Member
  
Join Date: Nov 2010
Posts: 68
 

Default Re: How to remove Terms & Conditions

Quote:
Originally Posted by cflsystems
Be careful with this - taking the button and/or the link and setting the value to Y means your customers agreed to something they didn't even see or know it exists. This would make every purchase basically illegal.
If still wanna do it - you can modify the js file that checks the form before submission

Links to Terms & conditoin + privacy will be still available, just the checkbox will be prechecked + I'll add the info that by clicking to button submit order customer agree with terms and conditions. Can you tell me what do I need to change in js and in which one, pls?

Thank you
__________________
Tom

X-CART 4.4.1
Reply With Quote
  #7  
Old 01-06-2011, 10:50 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: How to remove Terms & Conditions

You can try commenting out this in "skin/common_files/modules/One_Page_Checkout/opc_init_js.tpl"
var termsObj = $('#accept_terms')[0];
if (termsObj && !termsObj.checked) {
xAlert(txt_accept_terms_err, lbl_warning);
return false;
}

It will take care of the warning after you comment out the button from the template
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #8  
Old 01-06-2011, 11:49 AM
 
exsecror exsecror is offline
 

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

Default Re: How to remove Terms & Conditions

Quote:
Originally Posted by cflsystems
Be careful with this - taking the button and/or the link and setting the value to Y means your customers agreed to something they didn't even see or know it exists. This would make every purchase basically illegal.
If still wanna do it - you can modify the js file that checks the form before submission

Eh.. Yes and no, it really depends on what you are selling that determines whether or not you need them to agree to such an agreement. We don't require the customers to because what we sell does not require we present them one.
Reply With Quote
  #9  
Old 01-06-2011, 12:53 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: How to remove Terms & Conditions

That is correct in some cases yes. I guess it depends on what you have in your terms. If for instance I list return policy or something similar in there i would want to know that customers do know about this before making purchase so I don't hear some lame excuses after with requests for returns
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #10  
Old 04-28-2016, 02:36 PM
 
telimon telimon is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 92
 

Default Re: How to remove Terms & Conditions

Can anyone tell me how to remove the T an C acceptance requirement in FLC?
I can't believe this is not an easy option in admin yet.
I don't see any advice on this for latest versions for FLC.
__________________
4.710
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 12:17 AM.

   

 
X-Cart forums © 2001-2020