Hey, we're running Magento 1.4.0.1 and want to hide active categories from navigation. When we do this, the categories of all children on the URL 404 of the parents category 'URL is still valid.
i.e.
MagentoStore.X / Brand / Company is not a valid MagentoStor.X / Brand We would like to point out magentostore.ex / brand on a page , But we do not want a tab by calling "Brands" in our top-level navigation.
How can we hide navigation from a parent while keeping it active? Thanks! Be very careful to upgrade to 1.4.1.0 - some major changes occurred, especially sales_forwards
Any extension related to your order for the module may brake
is an option to create a version of the Mage_Catalog_Block_Navigation file under the app / code / local (direct core Do not edit) and navigate through the Ditam function to exclude that category Override. This requires writing some PHP, but copying / pasting the existing code is not particularly difficult and add your position.
Something like this should be done at the top of the function (keep in mind that this function is recursive ... and check your regex!)
if (preg_match) \ B (brand) / i ', $ category- & gt; getName ())! = 0) {Return "'; }
Comments
Post a Comment