Both sides previous revisionPrevious revisionNext revision | Previous revision |
v:0.6.0:getting_started:site_setup [2010/09/29 08:04] – external edit 127.0.0.1 | v:0.6.0:getting_started:site_setup [2017/04/26 07:02] (current) – external edit 127.0.0.1 |
---|
How to get your website's store set up to work with FoxyCart. | How to get your website's store set up to work with FoxyCart. |
| |
<!-- BEGIN FOXYCART FILES --> | |
<script src="https://altruen.foxycart.com/files/foxycart_includes.js" type="text/javascript" charset="utf-8"></script> | |
<link rel="stylesheet" href="https://altruen.foxycart.com/files/foxybox.css" type="text/css" media="screen" charset="utf-8" /> | |
<!-- END FOXYCART FILES --> | |
<!-- BEGIN FOXYCART FILES --> | |
<script src="https://altruen.foxycart.com/files/foxycart_includes.js" type="text/javascript" charset="utf-8"></script> | |
<link rel="stylesheet" href="https://altruen.foxycart.com/files/foxybox.css" type="text/css" media="screen" charset="utf-8" /> | |
<!-- END FOXYCART FILES --> | |
<!-- BEGIN FOXYCART FILES --> | |
<script src="https://YOURDOMAIN.foxycart.com/files/foxycart_includes.js" type="text/javascript" charset="utf-8"></script> | |
<link rel="stylesheet" href="https://YOURDOMAIN.foxycart.com/files/foxybox.css" type="text/css" media="screen" charset="utf-8" /> | |
<!-- END FOXYCART FILES --> | |
| |
<!-- BEGIN FOXYCART FILES --> | |
<link rel="stylesheet" href="https://YOURDOMAIN.foxycart.com/themes/standard/styles.css" type="text/css" media="screen" charset="utf-8" /> | |
<!-- END FOXYCART FILES --> | |
| |
===== Add the Cart Code ===== | ===== Add the Cart Code ===== |
| |
For a nice and quick FoxyCart implementation, insert the following code into the head section of your webpage, after any other CSS or javascript tags you might have. | For a nice and quick FoxyCart implementation, all you need to do is copy three lines of code from the 'Sample Code' section your stores FoxyCart administration. Simply copy the code presented in step 1 into the ''<head>'' section of your page's markup, after any CSS and before any javascript files you've included yourself. |
| |
<code html> | |
<!-- BEGIN FOXYCART FILES --> | |
<script src="https://YOURDOMAIN.foxycart.com/files/foxycart_includes.js" type="text/javascript" charset="utf-8"></script> | |
<link rel="stylesheet" href="https://YOURDOMAIN.foxycart.com/files/foxybox.css" type="text/css" media="screen" charset="utf-8" /> | |
<!-- END FOXYCART FILES --> | |
</code> | |
| |
If you'd like to use the default theme, you'll need one additional file. This is to style the elements of the foxybox that are not in the iframe (specifically, the close and the continue shopping links). | |
<code html> | |
<!-- BEGIN FOXYCART FILES --> | |
<link rel="stylesheet" href="https://YOURDOMAIN.foxycart.com/themes/standard/theme.foxybox.css" type="text/css" media="screen" charset="utf-8" /> | |
<!-- END FOXYCART FILES --> | |
</code> | |
| |
| |