Frank van der Voort Posted April 3, 2012 Share Posted April 3, 2012 Hi all, I have a bit of a problem with the (read) link when accepting the terms & conditions. When I click on it it does not open. When using the inspection tools it gives a error when i'm on the order carrier page (see picture 1) after clicking on the (read) link it gives a extra error (see picture 2). Probably the javascript pop up is broken because when i open it in a new tab the link still works. I really don't know how to fix this problem. Last week the link still worked but know it is broken. Does somebody know how to fix this problem? Link to comment Share on other sites More sharing options...
hristianita Posted June 10, 2012 Share Posted June 10, 2012 I have the same problem. I used the developer tools of Chrome to remove everything from the page except the link, I also changed the url it points to but the problem remains: the link does not open except with right click - open in new tab. Link to comment Share on other sites More sharing options...
hristianita Posted June 11, 2012 Share Posted June 11, 2012 Hello, I found a solution for my problem. In the file order-address.js located in the js folder of my theme, I changed $(document).ready(function() { updateAddressesDisplay(true); }); to $(document).ready(function() { if (typeof(addresses)!='undefined') updateAddressesDisplay(true); }); That solved it for me. Hope it works for you too. 1 Link to comment Share on other sites More sharing options...
indus Posted August 2, 2012 Share Posted August 2, 2012 hooya, this worked. thanks a lot hristianita. I was stuck with this problem for many months. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 2, 2012 Share Posted August 2, 2012 Thanks hristianita! By the way, just wondering, what kind of template are you guys using? I will go ahead and mark this as solved. Thanks for choosing PrestaShop! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now