links on checkout page don't work

drwagner13drwagner13 Member
in Help edited April 2012
I've placed links in the footer of my site which open in new windows (terms and conditions and so on). On the foxycart checkout page, the links are correct, but the content comes back as a foxycart message saying the links were not found. Have I missed a step?

You can see working links and a functioning cart here:

http://www.littlesphaeroid.com/titanopsis_order.html
Comments
  • lancelance Member, Community Support Member
    @drwagner13 -

    The issue here is that JavaScript is actually handling the click action, so even though you have the href set correctly, the onClick action is trying to open terms_of_service.html on the current domain. When you're at Checkout, the current domain is your FoxyCart store, so you will get a 404. You can fix this by defining an absolute URL in the JS.

    Hope this helps.

    Lance
Sign In or Register to comment.