'Ostatnio przegladane produkty', 'route' => '@stRecentlyViewedProductsBackend', 'icon' => 'stRecentlyViewedProductsPlugin'], 'offer'); } elseif (SF_APP == 'frontend') { stPluginHelper::addEnableModule('stRecentlyViewedProductsFrontend'); stPluginHelper::addRouting('stRecentlyViewedProductsFrontend', '/st-recently-viewed-products/:action/*', 'stRecentlyViewedProductsFrontend', 'index'); $dispatcher->connect('stProductActions.postExecuteShow', array('stRecentlyViewedProductsPluginListener', 'postExecuteProductShow', 'last')); }