Close

Remove Manufacturer Sidebar

janelle.autry
9 years ago
#8837 Quote
Avatar
  • 7
How do you remove the Manufactures from the sidebar on the product page?
iliyan.tanev
9 years ago
#8841 Quote
Avatar
  • 347
Hi,

You could change the ManufacturerNavigation method by updating the check in the first if in the method. The beginning of the method should look like this: 

object currentProductId = Url.RequestContext.RouteData.Values["productId"];

if (_catalogSettings.ManufacturersBlockItemsToDisplay == 0 || currentProductId != null)
          return Content("");


This will remove the manufacturer navigation only from the product pages.
Regards,
Iliyan Tanev
Nop-Templates Dev Team