Plugin Directory

Changeset 665360


Ignore:
Timestamp:
02/08/2013 07:02:10 PM (13 years ago)
Author:
splashingpixels.com
Message:

committing 2.0.7

Location:
sp-wpec-variation-image-swap/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sp-wpec-variation-image-swap/trunk/js/sp-wpec-variation-image-swap.js

    r624880 r665360  
    44            // variation image swap function
    55            $("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
    1012               
    1113                // loops through all selections and check if all has been selected to proceed (also captures all variation ids)
     
    2426                    // get the product id
    2527                    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),             
    2729                        image_src = image_element.attr('src'),
    2830                        $data = {
  • sp-wpec-variation-image-swap/trunk/readme.txt

    r644842 r665360  
    44Tags: wpec, wp-e-commerce, variation image, image swap, variation image swap, splashing pixels
    55Requires at least: 3.0
    6 Tested up to: 3.4.2
    7 Stable tag: 2.0.6
     6Tested up to: 3.5.1
     7Stable tag: 2.0.7
    88
    99Plugin that adds product variation image swapping function to Wordpress e-Commerce plugin (WPEC). Requires 3.8+ of WPEC plugin.
     
    4242
    4343== Changelog ==
     44
     45= 2.0.7 =
     46* Fixed - Image swap was affecting WPEC product specials widget
    4447
    4548= 2.0.6 =
  • sp-wpec-variation-image-swap/trunk/sp-wpec-variation-image-swap.php

    r624880 r665360  
    44Plugin URI: http://splashingpixels.com/plugins/sp-wpec-variation-image-swap
    55Description: Plugin that adds product variation image swapping function to Wordpress e-Commerce plugin (WPEC). Requires 3.8+ of WPEC plugin.
    6 Version: 2.0.6
     6Version: 2.0.7
    77Author: Roy Ho (Splashingpixels.com)
    88Author URI: http://splashingpixels.com
     
    3232 
    3333define( 'SP_SWAP_PLUGIN_URL', plugins_url( '', __FILE__ ) );
    34 define( 'SP_SWAP_PLUGIN_VERSION', '2.0.6' );
     34define( 'SP_SWAP_PLUGIN_VERSION', '2.0.7' );
    3535
    3636require_once( plugin_dir_path( __FILE__ ) . 'includes/class-core.php' );
Note: See TracChangeset for help on using the changeset viewer.