• <script type="text/javascript">
    $( document ).ready(function() {
    $('div.wpsc_variation_forms select.wpsc_select_variation')
    .val('8')
    .trigger('change');
    
    });
    </script>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    By using the above script i’m able to change the price and select the non default option, but the problem is that the image is not swapped according to the changed variation value.
    Please help.

    https://www.ads-software.com/extend/plugins/sp-wpec-variation-image-swap/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Onload select variation doesn't changes the image?’ is closed to new replies.