Changeset 665360
- Timestamp:
- 02/08/2013 07:02:10 PM (13 years ago)
- Location:
- sp-wpec-variation-image-swap/trunk
- Files:
-
- 3 edited
-
js/sp-wpec-variation-image-swap.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
sp-wpec-variation-image-swap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sp-wpec-variation-image-swap/trunk/js/sp-wpec-variation-image-swap.js
r624880 r665360 4 4 // variation image swap function 5 5 $("div.wpsc_variation_forms select.wpsc_select_variation").change(function() { 6 var productForm = $(this).parents("form.product_form"); 7 var allSelected; 8 var var_ids = new Array(); 9 var i = 0; //counter 6 var productForm = $(this).parents("form.product_form"), 7 productCol = $(this).parents(".productcol"), 8 imageCol = productCol.prev(), 9 allSelected, 10 var_ids = new Array(), 11 i = 0; //counter 10 12 11 13 // loops through all selections and check if all has been selected to proceed (also captures all variation ids) … … 24 26 // get the product id 25 27 var product_id = $("input[name=product_id]", productForm).val(), 26 image_element = $("img#product_image_" + product_id );28 image_element = $("img#product_image_" + product_id, imageCol), 27 29 image_src = image_element.attr('src'), 28 30 $data = { -
sp-wpec-variation-image-swap/trunk/readme.txt
r644842 r665360 4 4 Tags: wpec, wp-e-commerce, variation image, image swap, variation image swap, splashing pixels 5 5 Requires at least: 3.0 6 Tested up to: 3. 4.27 Stable tag: 2.0. 66 Tested up to: 3.5.1 7 Stable tag: 2.0.7 8 8 9 9 Plugin that adds product variation image swapping function to Wordpress e-Commerce plugin (WPEC). Requires 3.8+ of WPEC plugin. … … 42 42 43 43 == Changelog == 44 45 = 2.0.7 = 46 * Fixed - Image swap was affecting WPEC product specials widget 44 47 45 48 = 2.0.6 = -
sp-wpec-variation-image-swap/trunk/sp-wpec-variation-image-swap.php
r624880 r665360 4 4 Plugin URI: http://splashingpixels.com/plugins/sp-wpec-variation-image-swap 5 5 Description: Plugin that adds product variation image swapping function to Wordpress e-Commerce plugin (WPEC). Requires 3.8+ of WPEC plugin. 6 Version: 2.0. 66 Version: 2.0.7 7 7 Author: Roy Ho (Splashingpixels.com) 8 8 Author URI: http://splashingpixels.com … … 32 32 33 33 define( 'SP_SWAP_PLUGIN_URL', plugins_url( '', __FILE__ ) ); 34 define( 'SP_SWAP_PLUGIN_VERSION', '2.0. 6' );34 define( 'SP_SWAP_PLUGIN_VERSION', '2.0.7' ); 35 35 36 36 require_once( plugin_dir_path( __FILE__ ) . 'includes/class-core.php' );
Note: See TracChangeset
for help on using the changeset viewer.