---- dataentry ----
type : integration # do not change this line
systems : Drupal # the system(s) that the integration is for, separated with commas if more than one
name : Drupal + FoxyCart integration # the name of the integration
description : Provides the necessary code to integrate into the Drupal CMS system.
tags : drupal # tags, separated by commas. don't include the "system" here.
date_dt : 2009-09-01 # the date in YYYY-MM-DD format
version : # if you have a version for your code, enter it here
developer_url : # if you'd like a link back to your site, stick it here
----
====== Drupal Module ======
//**Please note:**//
The code on this page is submitted by members of the FoxyCart community, and may not verified by FoxyCart.com LLC in any way, shape, or form. Please double check the code before installing. If you need help with it please [[http://forum.foxycart.com/|post in our forum]], but if we cannot offer assistance (due to unfamiliarity with this particular system or language) we apologize in advance.
===== Description =====
A full Drupal module, [[http://drupal.org/project/foxycart|FoxyCart Integration]], is available [[http://drupal.org/project/foxycart|here at drupal.org]]. Some of the features include:
* Automatic inclusion of necessary foxycart.com css and javascript files to enable your site.
* Theme-able shopping cart and status blocks.
* Tight single-sign on integration with Drupal. Customers use their Drupal account to complete checkout with FoxyCart.
* FoxyCart datafeed logging. Transactions reported by FoxyCart are logged into the Drupal logging system.
Please submit any suggestions/bugs on the [[http://drupal.org/node/add/project-issue/foxycart|Drupal.org bugtracker]].
===== Requirements =====
* Drupal 6 or 7
Provided by: [[http://www.yorkspace.com|yorkspace.com]]
====== Manual Integration ======
===== Description =====
These instructions will integrate FoxyCart with your Drupal 6 template. This is not a Drupal module, if you change templates then you will need to apply these steps again to the new template.
===== Installation =====
- Under your template folder, eg. ''/sites/all/themes/mytemplate'', make a directory ''foxycart-version''. eg. foxycart-0.5.1
- Download the foxy files, maintaining the same folder structure (and replacing the ''YOURDOMAIN.FOXYCART.TLD'' with the path to your FoxyCart files, as indicated in your "sample code" page in your FoxyCart admin):
* ''https://YOURDOMAIN.FOXYCART.TLD/files/foxybox.css''
* ''https://YOURDOMAIN.FOXYCART.TLD/themes/standard/theme.foxybox.css ''
* ''https://YOURDOMAIN.FOXYCART.TLD/files/foxycart_includes.js ''
- Add these lines to your template ''.info'' file:
stylesheets[all][] = foxycart-0.5.1/files/foxybox.css
stylesheets[all][] = foxycart-0.5.1/themes/standard/theme.foxybox.css
scripts[] = foxycart-0.5.1/files/foxycart_includes.js
- Refresh your Drupal theme cache.
Done. Now can add Foxy add to cart links, etc.. to your pages and blocks. Just make sure that you select an appropriate ''Input Filter'' otherwise all but the most basic HTML tags will be stripped and it won't work.
===== Requirements =====
* Drupal 6
Provided by: [[http://frontierconsulting.com.au|frontierconsulting.com.au]]