diff --git a/js/admin-products.js b/js/admin-products.js index 893aa2377..a404b8dbf 100644 --- a/js/admin-products.js +++ b/js/admin-products.js @@ -753,7 +753,9 @@ product_tabs['Informations'] = new function(){ var self = this; this.bindAvailableForOrder = function (){ $("#available_for_order").click(function(){ - if ($(this).is(':checked') || !$('input[name=\'multishop_check[show_price]\']').prop('checked')) + + + if ($(this).is(':checked') || ($('input[name=\'multishop_check[show_price]\']').lenght && !$('input[name=\'multishop_check[show_price]\']').prop('checked'))) { $('#show_price').attr('checked', true); $('#show_price').attr('disabled', true);