Skip to content

topmenu

Auto Added by WPeMatico

Hide Menu If Customer is not Logged In. And Show when Login

I want to hide the menu when user is not logged in. And Show when It Logs in. I did the following code. public function __construct( MagentoCustomerModelSessionFactory $customerSession, LoggerInterface $logger, MagentoFrameworkAppResponseHttp $redirect, MagentoFrameworkAppHttpContext $httpContext ) { $this->customerSession = $customerSession; $this->logger… Read More »Hide Menu If Customer is not Logged In. And Show when Login

Magento2: How to add dropdown menu with category products category on top navigation

I am using magento 2.4.3-p2 I want to show sub-category products along with subcategories in top navigation. Home MainCategory About Us Subcategory1 Subcategory2 Subcategory3 product-1-1 Product-2-1 product-3-1 product-1-2 Product-2-2 product-3-2 product-1-3 Product-2-3 product-3-3 Please help me how to achieve this… Read More »Magento2: How to add dropdown menu with category products category on top navigation