diff --git a/admin-dev/themes/template/orders/form.tpl b/admin-dev/themes/template/orders/form.tpl index cb3d871d8..f0ae1f128 100755 --- a/admin-dev/themes/template/orders/form.tpl +++ b/admin-dev/themes/template/orders/form.tpl @@ -542,8 +542,7 @@ { updateCartProducts(jsonSummary.summary.products); updateCartVouchers(jsonSummary.summary.discounts); - - if (jsonSummary.summary.products.length == 0 || !jsonSummary.addresses.length == 0) + if (!jsonSummary.summary.products.length || !jsonSummary.addresses.length) $('#carriers_part,#summary_part').hide(); else $('#carriers_part,#summary_part').show(); diff --git a/admin-dev/themes/template/products/prices.tpl b/admin-dev/themes/template/products/prices.tpl index d2d7c9b83..3a478e6f7 100644 --- a/admin-dev/themes/template/products/prices.tpl +++ b/admin-dev/themes/template/products/prices.tpl @@ -40,7 +40,7 @@ var product_prices = new Array(); {if $combinations|@count != 0}