Setting up a customized checkout template in FoxyCart is about as easy as it can get, thanks to AutoMagiCache. But it's also radically different than you're probably expecting. Here's a quick guide to setting up your template to seamlessly integrate FoxyCart into your existing site design.
The idea here is that you're going to create a page on your site with “placeholders” where the FoxyCart functionality will go. You should know enough HTML and CSS to be comfortable editing code in order to make this happen, though if you're still learning and are using a WYSIWYG like Dreamweaver the basic ideas still apply. Once this page is created and uploaded/published on your site, you'll enter that URL into your FoxyCart admin, and FoxyCart will grab your code, work some magic (seriously), you'll be good to go.
The HTML on the cart, checkout, and receipt pages is fairly substantial. There are methods to
AutoMagiCache is robust, but there are situations where it will break. Please review the limitations before you continue. If you find a bug, please report it.
If for some reason you don't want to use AutoMagiCache to do things automatically, you can securely cache your http
images on our server (https
) by calling them like this:
https://YOURDOMAIN.foxycart.com/cache.php?url=http://example.com/path/to/image.gif
Please note that this will only work on your cart, checkout, and receipt pages. This is done automatically if you cache your template as described below, but if you need to hardcode it, that's what it is.
cart
placeholder before the checkout
placeholder, but you don't need to display the cart
on your checkout page if you don't want to. (It's probably a good idea though.)^^cart^^
^^checkout^^
</head>
tag:<link rel="stylesheet" href="https://^^store_domain^^/themes/standard/styles.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="https://^^store_domain^^/themes/text/styles.css" type="text/css" media="screen" charset="utf-8" />
http://YOURDOMAIN.foxycart.com/cart?name=blah&price=10&cart=checkout
foxycart.com
will automatically be updated when you change versions.