Returning customer link not doing anything – JS Error?
-
Hello,
Im trying to solve some problems on a friend’s webiste, and I need help with this one.
The problem is on the website’s checkout template.
If I click on the “Returning customer” nothing happens. Previously it was set up so it redirected the user to the backend, through “/wp-login”, but that doesn’t make sense for an online shop with registered customers. What I did was edit the checkout form-login.php, removed the /wp-login link and added a “#” like its setup by default on woocommerce.
However, now when I click nothing happens.
I inspected the element using chrome and I get several errors when this page loads ups,
some saying “Uncaught Type Error” and JS error referring to FancyBox, were it says it can’t find the specified folder (which btw doesn’t exist).I figured something went wrong and the /wp-login was a workaround by someone, but it isn’t a good solution. I wanted to know if anyone has any idea on what could be wrong and how to fix the bad directory location. My guess is that something got updated which affected javascript, but I dont have a clue how to fix it.
Thanks!!
The topic ‘Returning customer link not doing anything – JS Error?’ is closed to new replies.