diff --git a/admin-dev/themes/template/header.tpl b/admin-dev/themes/template/header.tpl index 7b6110512..ac397ab5a 100644 --- a/admin-dev/themes/template/header.tpl +++ b/admin-dev/themes/template/header.tpl @@ -275,9 +275,9 @@ $(document).ready(function() {if $is_multishop && $shop_context != 'all'}
{if $shop_context == 'group'} - {l s='You are configuring your store for group shop '}{$shop_name} + {l s='You are configuring your store for group shop '}{$group_shop->name} {elseif $shop_context == 'shop'} - {l s='You are configuring your store for shop '}{$shop_name} + {l s='You are configuring your store for shop '}{$shop->name} {/if}
{/if} diff --git a/classes/AdminController.php b/classes/AdminController.php index a54765d67..5e8ede003 100644 --- a/classes/AdminController.php +++ b/classes/AdminController.php @@ -1239,6 +1239,8 @@ class AdminControllerCore extends Controller 'quick_access' => $quick_access, 'multi_shop' => Shop::isFeatureActive(), 'shop_list' => (Shop::isFeatureActive() ? generateShopList() : null), //@TODO refacto + 'shop' => $this->context->shop, + 'group_shop' => $this->context->shop->getGroup(), 'tab' => $tab, 'current_parent_id' => (int)Tab::getCurrentParentId(), 'tabs' => $tabs,