The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Auto Magic Cache - Checkout Template Issues

BLJBLJ Member
in Bugs & Feature Requests edited July 2013
Hi,

I'm trying to use a custom html template for the checkout, however when using the Auto- Magi Cache function it's producing mark-up which is displaying incorrectly, I think because the cached images are not available:

HTML Template - http://www.blooming-lovely-jewellery.co.uk/pages/foxycheckout.html

Generated img link doesn't work:
https://blooming-lovely-jewellery.foxycart.com/cache.php?fcsid=mcoql2h6dfo11jc5cd0chr4qn2&url=http://www.blooming-lovely-jewellery.co.uk/../Images/masterpages/site/logo.png

But the source URL does:
http://www.blooming-lovely-jewellery.co.uk/../Images/masterpages/site/logo.png

Can you help?

many thanks in advance
Jay
Comments
  • fc_adamfc_adam FoxyCart Team
    edited July 2013
    @BLJ,

    Did you receive my reply to your email to our helpdesk yesterday? I'll include my reply here just in case you didnt:

    - - - - -

    Actually the automagicache is working correctly based on what you've set for the image - it's just that when you view your own page directly in the browser, it's working around a small issue in your image paths and still displaying them.

    In particular, it's your use of relative paths for the image that is causing the issue. For example, the image you linked to is linked like this: "../../Images/masterpages/site/logo.png", so it's saying to go up two directories to get to the 'Images' folder. In reality though, that page is only one directory away from the root: "/pages/foxycheckout.html" so you only need to have one "../" at the start of the image URL. If you correct that on your page - or just set those URL's to be absolute rather than relative - that should fix the issue with getting it to cache.
Sign In or Register to comment.