diff --git a/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl b/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl index 483b85f3e..e3a8ed262 100644 --- a/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl +++ b/admin-dev/themes/default/template/controllers/carrier_wizard/summary.tpl @@ -54,4 +54,9 @@ {l s='It will be displayed only for the following groups:'} +
 
+
+ {l s='It will be displayed only for the following shops:'} + +
diff --git a/js/admin_carrier_wizard.js b/js/admin_carrier_wizard.js index b376e0c55..724e72d41 100644 --- a/js/admin_carrier_wizard.js +++ b/js/admin_carrier_wizard.js @@ -140,6 +140,13 @@ function displaySummary() if ($(this).attr('checked')) $('#summary_groups').html($('#summary_groups').html() + '
  • ' + $(this).parent().next().next().text() + '
  • '); }); + + // shop restrictions + $('#summary_shops').html(''); + $('.input_shop').each(function(){ + if ($(this).attr('checked')) + $('#summary_shops').html($('#summary_shops').html() + '
  • ' + $(this).parent().text() + '
  • '); + }); } function validateSteps(step_number)