![]() |
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? |
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. :)
|
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 :roll: |
Re: Terms & Conditions on checkout page
Is this something that needs to be edited in the language files??
|
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. |
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.
|
Re: Terms & Conditions on checkout page
Quote:
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. |
Re: Terms & Conditions on checkout page
Quote:
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. |
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
|
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 & 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 & 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 :D/ |
Re: Terms & Conditions on checkout page
Thanks for posting that Todd!
I ended up using this code and it works as a popup in the same window. It goes in the same places Todd mentioned I accept the (<a onclick="newwindow=window.open('/path to terms-conditions.html here','pop','width=820,height=870, resizable, scrollbars' );return false" href="#">Terms & Conditions</a>) & (<a onclick="newwindow=window.open('/path to terms-conditions.html here privacy.htm here','pop','width=820,height=870, resizable, scrollbars' );return false" href="#">Privacy Statement</a>) I use the absolute server path instead of the URL because it allows me to use the database on my development server. Once done I move to production and it still works. Hope this helps someone |
Re: Terms & Conditions on checkout page
Glad I could help :)
|
Re: Terms & Conditions on checkout page
Does not work in 4.4.4 I get the error:
An error occurred while processing a request. Please refresh the page. If the problem still persists after refreshing the page please contact us on the matter. My page was showing blank. The info is in the language files. |
Re: Terms & Conditions on checkout page
Finally, someone that put exactly what to do in their response. Thanks very much. I can't believe xCart 4.4.4 didn't work right out of the gate on our new store install.
|
Re: Terms & Conditions on checkout page
Quote:
Did you ever find an answer to this? I get the same error in 4.4.5 after trying these edits in the language file. Edited to add the way I fixed this: In 4.4.5 using Fast lane checkout, do the following edits to get your terms and privacy statement in those popup windows. File: /common_files/modules/Fast_Lane_Checkout/checkout_3_place.tpl original: Code:
<div class="terms_n_conditions center"> change to: Code:
<div class="terms_n_conditions center"> change the red/bold page #s there to your page. |
All times are GMT -8. The time now is 08:18 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.