wpsg_vp_vari[3][1] = "checkbox";
wpsg_vp[3][1] = new Array();
wpsg_vp[3][1] = 35;
wpsg_vp_vari[3][2] = "checkbox";
wpsg_vp[3][2] = new Array();
wpsg_vp[3][2] = 69;
jQuery(document).ready(function() {
wpsg_vp_switch(3);
//jQuery('.wpsg_vp_field select').change();
} );
jQuery('.wpsg_add_basket_1').bind('click', function() {
jQuery.ajax( {
url: 'https://my-blog-shop.de/warenkorb',
data:
{
wpsg_form_data: jQuery('#wpsg_produktform_1').serialize(),
'wpsg[ajax]': '1',
'wpsg[submit]': '1'
},
success: function(data)
{
jQuery('html,body').animate( { scrollTop: jQuery(this).offset() }, 500);
jQuery.ajax( {
url: m1shop.ajaxurl,
data: {
'action': 'm1shop-request',
'postID': m1shop.postID
},
success: function(data) {
jQuery('#basketajax').html(data);
jQuery('.trigger_basketdetails').click();
}
} );
}
} );
return false;
} );