Table of Contents
- SlideShowPro, Flash
- SlideShowPro E-Commerce
- Adds "Purchase This Photo: (Size Drop-Down) (Add To Cart Button)" purchase controls for each image with defined costs.
- photo gallery, slideshow
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.
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.
Edit the template
sspfc layer of the template, edit the actionscript sspfc_foxycart_url variable to your foxycart URL.
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''
<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" />
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.
For discussion and help please see this forum thread.
- Actionscript 3