diff --git a/admin-dev/themes/default/template/controllers/products/multishop/check_fields.tpl b/admin-dev/themes/default/template/controllers/products/multishop/check_fields.tpl index 414c1340d..3647a8928 100644 --- a/admin-dev/themes/default/template/controllers/products/multishop/check_fields.tpl +++ b/admin-dev/themes/default/template/controllers/products/multishop/check_fields.tpl @@ -26,7 +26,7 @@ {if isset($display_multishop_checkboxes) && $display_multishop_checkboxes} {/if} \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/products/prices.tpl b/admin-dev/themes/default/template/controllers/products/prices.tpl index 80bf42a5b..575bcb578 100644 --- a/admin-dev/themes/default/template/controllers/products/prices.tpl +++ b/admin-dev/themes/default/template/controllers/products/prices.tpl @@ -107,7 +107,7 @@ jQuery(document).ready(Customer.init); {l s='You must enter either the pre-tax retail price, or the retail price with tax. The input field will be automatically calculated.'} -{include file="controllers/products/multishop/check_fields.tpl" product_tab="Price"} +{include file="controllers/products/multishop/check_fields.tpl" product_tab="Prices"}
diff --git a/js/admin-products.js b/js/admin-products.js index adfc382ae..8a4a0f2b5 100644 --- a/js/admin-products.js +++ b/js/admin-products.js @@ -554,7 +554,7 @@ product_tabs['Prices'] = new function(){ self.bindDelete(); if (display_multishop_checkboxes) - ProductMultishop.checkAllPrice(); + ProductMultishop.checkAllPrices(); }; } @@ -1494,7 +1494,7 @@ var ProductMultishop = new function() }); }; - this.checkAllPrice = function() + this.checkAllPrices = function() { ProductMultishop.checkField($('input[name=\'multishop_check[wholesale_price]\']').prop('checked'), 'wholesale_price'); ProductMultishop.checkField($('input[name=\'multishop_check[price]\']').prop('checked'), 'price', 'price');