Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

site is very slow when we use sebwite_sidebar #23

Open
sivajik34 opened this issue Sep 25, 2018 · 1 comment
Open

site is very slow when we use sebwite_sidebar #23

sivajik34 opened this issue Sep 25, 2018 · 1 comment

Comments

@sivajik34
Copy link

the search result page is very slow when we use sebwite-sidebar.
if we disable this module search result is loading is very fast.

@sivajik34
Copy link
Author

now it's working fine.

$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$category = $objectManager->get('Magento\Framework\Registry')->registry('current_category');//get current category
if(isset($category)){
$current_name = ($category != null ? $category->getName() : ""); ?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant