diff --git a/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl index b321b7ba5..a1a847635 100644 --- a/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl @@ -71,7 +71,7 @@ var id_attribute_group = $('#id_attribute_group').val(); $('.input_shop').each(function(k, item) { - var id_shop = $(item).val(); + var id_shop = $(item).attr('shop_id'); if (typeof shop_associations[id_attribute_group] != 'undefined' && $.inArray(id_shop, shop_associations[id_attribute_group]) > -1) $(item).attr('disabled', false); else diff --git a/admin-dev/themes/default/template/helpers/form/assoshop.tpl b/admin-dev/themes/default/template/helpers/form/assoshop.tpl index d0d369eb8..9dd7bf66a 100644 --- a/admin-dev/themes/default/template/helpers/form/assoshop.tpl +++ b/admin-dev/themes/default/template/helpers/form/assoshop.tpl @@ -114,7 +114,8 @@ function check_all_shop() {