type:
integration
system:
SlideShowPro, Flash
name:
SlideShowPro E-Commerce
description:
Adds "Purchase This Photo: (Size Drop-Down) (Add To Cart Button)" purchase controls for each image with defined costs.
tag:
photo gallery, slideshow
date:
2009-04-01
developer:
http://stephen.chai.name/

SlideShowPro + FoxyCart for SlideShowPro E-Commerce

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

Code to integrate FoxyCart with SlideShowPro for ecommerce-enabled slideshows. Adds “Purchase This Photo: (Size Drop-Down) (Add To Cart Button)” purchase controls for each image with defined costs.

Installation

Edit the template

In the sspfc layer of the template, edit the actionscript sspfc_foxycart_url variable to your foxycart URL.

In the content layer of the template, add your SSP instance, and name it my_ssp. Or, you can edit the sspfc_ssp variable to whatever you named your SSP instance.

Edit your ''gallery.xml''

On each <img /> tag add a sizes attribute with comma separated size description|size cost pairs. E.g.,

<img src="my-image.jpg" caption="This is my foxycart purchase-able image with configurable sizes and costs" title="My Image" sizes="4x6|100,5x7|125,8x10|150" />

Customization

The integration uses flash's built-in ComboBox and Button components. Skin the components however you like to change their appearance.

The purchase controls are positioned in the sspfc_onImageFormatEvent() method. Change up where you want the controls to appear there.

Discussion?

For discussion and help please see this forum thread.

Requirements

Code

Site Tools