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.

AutoMagiCache Problem

jodycollierjodycollier Member
in Help edited July 2011
New to foxy. Love it so far. I am, however, running into one issue with AutoMagiCache.

I'll tell you what I did, and the problem may be very apparent to you.

I'm not a strong web developer, so we've been using WordPress on this new website. It's currently being set up for e-commerce.

I entered the default css code into the header section of wordpress's css editor. I then put a ˆˆcartˆˆ placeholder in this page http://welding-tv.com/checkout (which is invisible in my site's search, by the way... would hate for them to see this page).

Then I came back to the Foxy Admin panel and cached that URL. It cached it just fine.

However, when I did a dry-run, acting like I was buying a product, this is the page I got (and it's ugly): https://welding-tv.foxycart.com/checkout?fc_auth_token=94d1a14315ab363259e1661cfc2fcff21b5177f4&fcsid=2isfb9iol6k8vgbafd67bvbij3&fc_customer_id=1587044×tamp=1310422859

I didn't like this look (obviously), so I tried adding that line of code directly into the page, instead (after deleting it from the stylesheet). Same result.

I'd like this page to look like what you see on the bottom half... obviously not the top half. Did I do something incorrectly?
Comments
  • lancelance Member, Community Support Member
    @jodycollier -

    You definitely need to remove this from your checkout template (and cart template if it is there):
    <!-- BEGIN FOXYCART FILES -->
    <link rel="stylesheet" href="http://static.foxycart.com/scripts/colorbox/1.3.16/style1_fc/colorbox.css"; type="text/css" media="screen" charset="utf-8" />
    <script src="http://cdn.foxycart.com/welding-tv/foxycart.complete.3.js"; type="text/javascript" charset="utf-8"></script>
    
    <!-- END FOXYCART FILES -->
    
    Those lines go only on your site pages, not in the cart or checkout.

    But, the biggest problem seems to be that you have the checkout placeholder in your meta description tag. When FoxyCart caches this, it is causing checkout to be rendered inside a meta tag, which you obviously don't want:
    <meta name="description" content="^^checkout^^  " />
    
    Fix those two items, and I think you should be much closer.

    Lance
  • Figured it out. I'm a chump. Didn't realize FoxyShop (the plugin I've already installed) had it's own template path URL. That is probably the issue. I'll let you know that caching that URL doesn't fix the problem... but I'm thinking it will.

    Cheers.
  • Hmm. Nevermind. I'm back at square one. And where did you find my problematic code, Lance? I totally believe you... I just couldn't find the meta name problem you referenced. Do you have any experience with FoxyShop that could further inform this discussion?

    Thanks again.
  • Same problem, but not as bad. Help? (Sorry... Like I said, I'm not a very strong developer. I'm more of a designer.)

    https://welding-tv.foxycart.com/checkout?fc_auth_token=13b42c0bbf4687a7e08530a00b8b94715160e085&fcsid=2isfb9iol6k8vgbafd67bvbij3&fc_customer_id=1587044×tamp=1310441473
  • fc_adamfc_adam FoxyCart Team
    @jodycollier,

    Right near the top of your template, like the 7th line down, there is a line just like lance posted:
    <meta name="description" content="^^checkout^^" />
    
    . Removing that, or just substituting ^^checkout^^ to be a description of the page, should fix your issue.
  • jodycollierjodycollier Member
    edited July 2011
    You. Guys. Rock.

    That fixed it. I removed it from the template code in the admin panel. I was making it much more difficult than it needed to be. (for some reason, it just didn't click that I needed to make the change THERE.)

    Thank you for the awesome help... And awesome service.

    Cheers,
    Jody
  • lancelance Member, Community Support Member
    edited July 2011
    Jody -

    Removing it from the template in the FoxyCart admin panel is fine, but if you don't fix the issue in the original template and you later re-cache it in the admin panel the issue could come up again. It looks like you've moved the template from the URL in your original post, so I can't confirm that the problem still exists in the template, but it is something to be careful of.

    Lance
Sign In or Register to comment.