diff --git a/lib/WebGUI/Shop/Products.pm b/lib/WebGUI/Shop/Products.pm index aacef2181..530f32966 100644 --- a/lib/WebGUI/Shop/Products.pm +++ b/lib/WebGUI/Shop/Products.pm @@ -319,9 +319,9 @@ displayed back to the user. =cut sub www_manage { - my $self = shift; + my $self = shift; my $status_message = shift; - my $session = $self->session; + my $session = $self->session; my $admin = WebGUI::Shop::Admin->new($session); return $session->privilege->insufficient unless $admin->canManage; @@ -346,8 +346,9 @@ sub www_manage { EODIV } - $output .= sprintf <url->append(WebGUI::Asset::Sku::Product->getProductImportNode($session)->getUrl, 'op=assetManager'), $i18n->get('view products');
%s%s
+

%s

EODIV return $admin->getAdminConsole->render($output, $i18n->get('products')); diff --git a/lib/WebGUI/i18n/English/Shop.pm b/lib/WebGUI/i18n/English/Shop.pm index e62888123..2976e09fe 100644 --- a/lib/WebGUI/i18n/English/Shop.pm +++ b/lib/WebGUI/i18n/English/Shop.pm @@ -915,6 +915,12 @@ our $I18N = { context => q|Message telling the user the their products have been imported successfully.| }, + 'view products' => { + message => q|View all imported products|, + lastUpdated => 1213047491, + context => q|Label for a shortcut to the import products folder| + }, + }; 1;