Foxycart files won't load

jitpaljitpal Member
in Help edited March 2009
Hi, I was trying to setup my template for the foxycart checkout. I'm having one pretty big problem.

I cached the URL for the checkout page, and it went fine. It brought it in everything, including my custom fields perfectly fine. The problem is that it won't load up the foxycart css file. So the page is essentially unstyled except for the CSS of my checkout page. Also, if I click view cart (which is in the header of my standard template), it doesn't show up in the modal window but just as a regular page. Anyone have any idea what's going on and how I can fix it?

For reference the domain is Pensfast.com and the checkout template is Checkout Template

Thanks
Comments
  • lukeluke FoxyCart Team
    Hello. The checkout template shouldn't include the <!-- BEGIN FOXYCART FILES --> includes, those are just for your website. Also, take a look at the default template we have there for the checkout. That's a good example to start with. If you want the FoxyCart CSS file for the checkout, that's actually a different CSS:
    <link rel="stylesheet" href="https://^^store_domain^^/themes/standard/styles.css"; type="text/css" media="screen" charset="utf-8" />

    If you're building your own custom checkout, we recommend starting with the text theme. The screencasts here might help get you started: http://wiki.foxycart.com/screencasts

    Also, on the cart side of things, be sure your links and forms have the class "foxycart" to pull up the FoxyBox. More info on that here: http://wiki.foxycart.com/getting_started:adding_links_and_forms

    Please post back if you have any questions or if it's still unclear.
  • Awesome thanks. I have most of it figured out. Just two things, one of which is quirky. I'm a little confused on where to put the field required code. Does it go in the head area? Below the ^^checkout^^ or somewhere else. No matter when I place it, it doesn't work and I copied it directly from the wiki.

    The quirky thing is, that my payment gateway is set to give me the credit card numbers and it works that way in Safari but in FireFox it asks for a purchase order number which it shouldn't ask and obviously says it's required. Any ideas? Thanks.
  • brettbrett FoxyCart Team
    Hi Jitpal.
    The issue is that you're including your own jQuery in addition to the jQuery that's already loaded with the FoxyCart checkout. In our next version we should have a fix for this, but in the meantime you should be able to remove your own jQuery call for your checkout template to fix your issues.

    If you need jQ 1.3.2 specific functionality... let us know.
Sign In or Register to comment.