This is an old revision of the document!


type:
integration
system:
Drupal
name:
Drupal + FoxyCart integration
description:
Provides the necessary code to integrate into the Drupal CMS system.
tags:
drupal
date:
2009-09-01

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 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, FoxyCart Integration, is available 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 Drupal.org bugtracker.

Requirements

  • Drupal 6 or 7

Provided by: 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

  1. Under your template folder, eg. /sites/all/themes/mytemplate, make a directory foxycart-version. eg. foxycart-0.5.1
  2. 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):
  3. 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
  4. 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: frontierconsulting.com.au

Site Tools