Jump to content

removing manufacturer and supplier module under catalog


Recommended Posts

 

these sections arent modules, these sections are a part of "native" prestashop features.

you can remove these "menu" items under administration > menus tab in your BO.

 

 

but you are able to disable catalog mode only not the any child menu. Prestashop 1.6< bellow have that option to hide but 1.6 only parent menu can enable disable.

Link to comment
Share on other sites

  • 5 months later...

sitemap.tpl in theme directory

remove:
 

    			{if $display_manufacturer_link OR $PS_DISPLAY_SUPPLIERS}
                    <li>
                        <a 
                        href="{$link->getPageLink('manufacturer')|escape:'html':'UTF-8'}" 
                        title="{l s='View a list of manufacturers'}">
                            {l s='Manufacturers'}
                        </a>
                    </li>
                {/if}
    			{if $display_supplier_link OR $PS_DISPLAY_SUPPLIERS}
                    <li>
                        <a 
                        href="{$link->getPageLink('supplier')|escape:'html':'UTF-8'}" 
                        title="{l s='View a list of suppliers'}">
                            {l s='Suppliers'}
                        </a>
                    </li>
                {/if}
  • Like 1
Link to comment
Share on other sites

  • 6 months later...

Yea, seems strange why there wouldn't be a setting to make PS_DISPLAY_SUPPLIERS 0. I've just done it manually in my DB now, worked like a charm, both suppliers and manufacturers are gone from the sitemap. Perfect.

 

Also myshop.com/supplier will now do 404.

 

myshop.com/manufacturer still shows up. I see there are 4 more config values that could have to do with it:

 

MANUFACTURER_DISPLAY_FORM

MANUFACTURER_DISPLAY_TEXT

MANUFACTURER_DISPLAY_TEXT_NB

PS_ROUTE_manufacturer_rule

 

 

Anybody know which does what?

Edited by theillo (see edit history)
Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...