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

Terms & Conditions on checkout page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-16-2011, 12:36 PM
 
Akhor Akhor is offline
 

Newbie
  
Join Date: May 2011
Posts: 4
 

Default Terms & Conditions on checkout page

On the my checkout page (http://shop.highlandshoppe.ab.ca/cart.php?mode=checkout) when teh Terms & Conditions link is clicked, the popover just spins and never loads data. However the T&C page does exist.

http://shop.highlandshoppe.ab.ca/Ter...onditions.html

Where is the template that adds this approve T&C link?
__________________
X-Cart: 4.4.0
Reply With Quote
  #2  
Old 05-16-2011, 05:11 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Terms & Conditions on checkout page

There is an issue with your slider. You can see it using the same T&C link on register.php and opening the Javascript Console in Firefox.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #3  
Old 06-07-2011, 03:29 AM
  toddpatterson's Avatar 
toddpatterson toddpatterson is offline
 

Senior Member
  
Join Date: Aug 2004
Location: Arkansas
Posts: 140
 

Default Re: Terms & Conditions on checkout page

Our Terms & Conditions and the Privacy Statement both show blank screens as well. Any suggestions?

http://rivervalleydiscount.com/store

Thanks in advance
__________________
B&T sales
xCart 5 Business
Core Version: 5.3.5
Reply With Quote
  #4  
Old 06-07-2011, 03:35 AM
  toddpatterson's Avatar 
toddpatterson toddpatterson is offline
 

Senior Member
  
Join Date: Aug 2004
Location: Arkansas
Posts: 140
 

Default Re: Terms & Conditions on checkout page

Is this something that needs to be edited in the language files??
__________________
B&T sales
xCart 5 Business
Core Version: 5.3.5
Reply With Quote
  #5  
Old 06-07-2011, 06:05 AM
 
Akhor Akhor is offline
 

Newbie
  
Join Date: May 2011
Posts: 4
 

Default Re: Terms & Conditions on checkout page

After trying to come up with a solution for this not working (the JS was fine) I ended up taking the easy way out...

I simply changed the links to open in a new window instead of load into the page.
__________________
X-Cart: 4.4.0
Reply With Quote
  #6  
Old 06-07-2011, 06:32 AM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Terms & Conditions on checkout page

A blank screen may be an error that could show up in the log or on screen if debug to screen is enabled in config.php.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #7  
Old 06-07-2011, 08:50 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Terms & Conditions on checkout page

Quote:
Originally Posted by toddpatterson
Is this something that needs to be edited in the language files??

Yes, they "Terms" and "Privacy" are static files that can be edited. There are also option to "show link" (in the help section) and whether they are "active" or not.

Our "terms and conditions" and "privacy statement" are kind of big so we have the full text versions in the help section and smaller versions displayed at checkout in the popup.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #8  
Old 06-07-2011, 07:56 PM
  toddpatterson's Avatar 
toddpatterson toddpatterson is offline
 

Senior Member
  
Join Date: Aug 2004
Location: Arkansas
Posts: 140
 

Default Re: Terms & Conditions on checkout page

Quote:
Originally Posted by JWait
Yes, they "Terms" and "Privacy" are static files that can be edited. There are also option to "show link" (in the help section) and whether they are "active" or not.

Our "terms and conditions" and "privacy statement" are kind of big so we have the full text versions in the help section and smaller versions displayed at checkout in the popup.

We also have ours displayed in the help section as well. However when a customer goes to checkout and has to click that they have read and agreed to the terms/privacy they have the option then to click on either document to read it. It is when they click on either document (during checkout) that nothing is happening.
__________________
B&T sales
xCart 5 Business
Core Version: 5.3.5
Reply With Quote
  #9  
Old 06-08-2011, 03:08 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Terms & Conditions on checkout page

You may need to edit the template with these links and change them to link to pageid # - by default they link to alias= so if you have custom pages it won't work
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #10  
Old 06-09-2011, 11:28 AM
  toddpatterson's Avatar 
toddpatterson toddpatterson is offline
 

Senior Member
  
Join Date: Aug 2004
Location: Arkansas
Posts: 140
 

Lightbulb Re: Terms & Conditions on checkout page

Ok guys, this is a really stupid one. To fix this error that folks seem to be getting do the following.

Content --> Languages

In the apply filter box, search for terms_and_conditions.

Step 1.

In the terms_and_conditions_newbie_note change the line to something similar to this:

I accept the <a href="http://yourstorenamehere.com/store/Return_Policy.html" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;" target="_blank">"Terms &amp; Conditions"</a>

In the above we changed it so that when a user clicks on the Terms & Conditions it opens the static page that we created as Return_Policy.html

Step 2.

In the terms_and_conditions_note change the line to something similar to this:

I accept the <a href="http://yourstorenamehere.com/store/Return_Policy.html" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;" target="_blank">"Terms &amp; Conditions"</a> and <a href="http://yourstorenamehere.com/store/Privacy_Notice.html" target="_blank" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;">"Privacy statement"</a>

In the above we changed it so that when a user clicks on the Terms & Conditions it opens the static page that we created as Return_Policy.html and then when they click on the Privacy Statement it opens up the static page Privacy_Notice.html


Hope that this helps someone else. Works great for us now
__________________
B&T sales
xCart 5 Business
Core Version: 5.3.5
Reply With Quote

The following 2 users thank toddpatterson for this useful post:
andyashleymark (10-22-2012), bobweasel (08-10-2011)
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 06:42 PM.

   

 
X-Cart forums © 2001-2020