---- dataentry ---- type : integration # do not change this line systems : SlideShowPro, Flash # the system(s) that the integration is for, separated with commas if more than one name : SlideShowPro E-Commerce # the name of the integration description : Adds "Purchase This Photo: (Size Drop-Down) (Add To Cart Button)" purchase controls for each image with defined costs. tags : photo gallery, slideshow # tags, separated by commas. don't include the "system" here. date_dt : 2009-04-01 # the date in YYYY-MM-DD format version : # if you have a version for your code, enter it here developer_url : http://stephen.chai.name/ # if you'd like a link back to your site, stick it here ---- ====== 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 [[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 ===== Code to integrate FoxyCart with [[http://slideshowpro.net/products/slideshowpro/slideshowpro_for_flash|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 '''' tag add a sizes attribute with comma separated size description|size cost pairs. E.g., === 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 [[http://forum.foxycart.com/comments.php?DiscussionID=1142&page=1|this forum thread]]. ===== Requirements ===== * [[http://slideshowpro.net/products/slideshowpro/slideshowpro_for_flash|SlideShowPro]] * Actionscript 3 ===== Code ===== * [[http://stephen.chai.name/file/ssp+foxycart.zip|SSP+Foxycart ZIP file]]: ''.fla'' template and ''.as'' source (ssp+foxycart.zip) * [[http://stephen.chai.name/file/ssp+foxycart.as|SSP+Foxycart]], just the actionscript (''ssp+foxycart.as'')