Jump to content

How to hide/disable product listing by Manufacturers?


Recommended Posts

There is no option in PrestaShop to do that. The only way I can think of to do it is to perform an SQL query using phpMyAdmin:

UPDATE `ps_product` SET `active` = 0 WHERE `id_manufacturer` = 1



Change 1 to the ID of the manufacturer you want to hide products.

Link to comment
Share on other sites

Thanks Rocky :)

but this I think wouldn't work for me.

I want to use XML product import updated daily. And I want to hide products by specific manufacturers.
I am able to hide products in hidden categories (if I hide them manualy), by xml importer. And I want to be able to do the same for manufacturers.
Your SQL query I think would only hide manufacturer until the next update feed is done.

I'm looking for a way, how to add option "Displayed", which is for categories and products, also to Manufacturers.
If that would hide all products in No-Displayed manufacturer, it would be great.

Link to comment
Share on other sites

  • 4 years later...

Hello everyone,

 

I need to create a new functionality on Prestashop 1.6 that disable all product from a manufacture, when this one is disable.

So basic when you enter on the back office to manager the list of manufacturer and you disable one of them, all his products will be disable as well.

 

Thank a lot.

Link to comment
Share on other sites

×
×
  • Create New...