{"id":47082,"date":"2012-02-18T16:06:46","date_gmt":"2012-02-18T16:06:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/sp-wpec-variation-image-swap\/"},"modified":"2013-02-09T02:12:04","modified_gmt":"2013-02-09T02:12:04","slug":"sp-wpec-variation-image-swap","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/sp-wpec-variation-image-swap\/","author":9005795,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.7","stable_tag":"2.0.7","tested":"3.5.2","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"SP WPEC Variation Image Swap","header_author":"Roy Ho (Splashingpixels.com)","header_description":"","assets_banners_color":"","last_updated":"2013-02-09 02:12:04","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=3LNUSMYGTCP7Y","header_plugin_uri":"http:\/\/splashingpixels.com\/plugins\/wpec-variation-image-swap\/","header_author_uri":"http:\/\/splashingpixels.com","rating":3.7,"author_block_rating":0,"active_installs":10,"downloads":4403,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.1":"<p>Added\/Updated new features<\/p>","1.0":"<p>Release<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","2.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1539022","resolution":"1","location":"plugin"}},"screenshots":{"1":"This screen shot shows an option to turn off image swapping per product basis."}},"plugin_section":[],"plugin_tags":[86741,86740,86742,3083,943],"plugin_category":[45],"plugin_contributors":[86743],"plugin_business_model":[],"class_list":["post-47082","plugin","type-plugin","status-closed","hentry","plugin_tags-image-swap","plugin_tags-variation-image","plugin_tags-variation-image-swap","plugin_tags-wp-e-commerce","plugin_tags-wpec","plugin_category-ecommerce","plugin_contributors-splashingpixelscom","plugin_committers-splashingpixelscom"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/sp-wpec-variation-image-swap.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/sp-wpec-variation-image-swap\/trunk\/screenshot-1.jpg?rev=1539022","caption":"This screen shot shows an option to turn off image swapping per product basis."}],"raw_content":"<!--section=description-->\n<p>This plugin enables products with variation images to be swapped in place of the main product thumbnail when users changes the variation dropdown selection option.  This way users can see different images of your product based on the variation chosen.  For example, you may have a variation named \"color\" and you have set different color product variation images for them.  This plugin will correctly swap out the main product image, with the color, the user selected.<\/p>\n\n<p>See demo here-&gt; http:\/\/splashingpixels.com\/plugins\/wpec-variation-image-swap\/<\/p>\n\n<p>For plugin support, please do not post support questions here on WordPress.org but instead post it in our support forum so we can better help you.  You can sign up to become a member on our site http:\/\/splashingpixels.com -- it's FREE!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Be sure Wordpress e-Commerce (WPEC) plugin is already installed.<\/li>\n<li>Upload the folder <code>sp-wpec-variation-image-swap<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Option to turn off image swap per product basis.  See below FAQ and screentshot.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Image is not swapping when I select one variation<\/dt>\n<dd><p>Remember that variations are in combinations, so all selects must be selected once for the system to know which image to grab for you.  For example you have a product called T-shirt and it has 3 colors and 3 sizes.  The user would select large and then red for example.  Then the image for that combination will be retrieved.  From then on if they just select a different color, it will also work as it will look for the next color with the size large.<\/p><\/dd>\n<dt>How do I turn off image swap for only certain products?<\/dt>\n<dd><p>Check the checkbox in the sidebar widget that says \"Disable Variation Image Swap\". and click on Update\/Save.  See screenshot 1<\/p><\/dd>\n<dt>I did everything but it is still not working! What gives!?<\/dt>\n<dd><p>It is possible the theme you're using is not compatible with the plugin if the theme has changed any class\/id names on certain containers.  To know for sure, switch to 2011 default Wordpress theme and re-test.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.7<\/h4>\n\n<ul>\n<li>Fixed - Image swap was affecting WPEC product specials widget<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<ul>\n<li>Fixed - after the image swap, clicking on lightbox shows the small size of the image instead of the large<\/li>\n<li>Fixed - when no image is found, sometimes wrong image is loaded in default<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<ul>\n<li>Update - removed the dependency of Timthumb for compatibility<\/li>\n<li>Update - removed the image file size check with getimagesize function as it is no longer needed without timthumb<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<ul>\n<li>Update - added a check to see if hosting server allows url fopen, if not, use curl.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Update - changed a selector name in the swap script to prevent compatibility issues with other plugins<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fixed - when image is swapping it sometimes stutters and flashes the old image before being replaced<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Update - restructured the plugin folders<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Update - plugin has been completely re-written with OOP technique for future extendibility <\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Update - Timthumb version to 2.8.10<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Update - FAQ<\/li>\n<li>Update - Added underscore to the meta key to prevent product custom fields to pick it up.<\/li>\n<li>Update - No longer need to jump through loops to enable\/disable the image swap function. It now works as it should<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Release<\/li>\n<\/ul>","raw_excerpt":"Plugin that adds product variation image swapping function to Wordpress e-Commerce plugin (WPEC). Requires 3.8+ of WPEC plugin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/47082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=47082"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/splashingpixelscom"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=47082"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=47082"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=47082"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=47082"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=47082"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=47082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}