// Fix product stocks on multishop

This commit is contained in:
rGaillard committed 2012-05-18 14:32:29 +00:00
1 parent 9cbe17f15c
commit 5bd8345d81
5 files changed
+17 -8

No files matched your search

+4 -1
View File
@@ -466,7 +466,10 @@ function runAdminTab($tab, $ajaxMode = false)
{
echo '<div class="multishop_info">';
if (Shop::getContext() == Shop::CONTEXT_GROUP)
printf(translate('You are configuring your store for group shop %s'), '<b>'.Context::getContext()->shop->getGroup()->name.'</b>');
{
$shop_group = new ShopGroup((int)Shop::getContextShopGroupID());
printf(translate('You are configuring your store for group shop %s'), '<b>'.$shop_group->name.'</b>');
}
elseif (Shop::getContext() == Shop::CONTEXT_SHOP)
printf(translate('You are configuring your store for shop %s'), '<b>'.Context::getContext()->shop->name.'</b>');
echo '</div>';