StrefaBiznesu Posted June 30, 2022 Share Posted June 30, 2022 Hi. I'm searching for a module that will automatically hide out of stock products. Without disable it. So I can still see it with a link. But it will not appear on store Would be great if it have cron option or timer. Link to comment Share on other sites More sharing options...
idnovate.com Posted July 1, 2022 Share Posted July 1, 2022 This module is what you need 🥳 https://www.idnovate.com/en/1418-hide-or-show-products-by-stock-by-price-by-geoip.html Link to comment Share on other sites More sharing options...
StrefaBiznesu Posted July 1, 2022 Author Share Posted July 1, 2022 6 minutes ago, idnovate.com said: This module is what you need 🥳 https://www.idnovate.com/en/1418-hide-or-show-products-by-stock-by-price-by-geoip.html Looks fine. But I don't see any cron job. If someone but any product I want that this product be hidden, not disable. Is this module hide it automatically? Not see it on demo. Link to comment Share on other sites More sharing options...
idnovate.com Posted July 1, 2022 Share Posted July 1, 2022 2 minutes ago, StrefaBiznesu said: Looks fine. But I don't see any cron job. If someone but any product I want that this product be hidden, not disable. Is this module hide it automatically? Not see it on demo. The cron job it's not necessary, the products are hidden automatically. Please write us at https://www.idnovate.com/en/contact-us and we configure an example for you 😉 1 Link to comment Share on other sites More sharing options...
Ali Samie Posted July 17, 2022 Share Posted July 17, 2022 On 6/30/2022 at 2:42 PM, StrefaBiznesu said: Hi. I'm searching for a module that will automatically hide out of stock products. Without disable it. So I can still see it with a link. But it will not appear on store Would be great if it have cron option or timer. Hi. I know a hook called filterProductSearch. This is what you should do: 1. Create a module and register this hook. 2. Write a method to loop over products. 3. Write another method which checks a single product and based on any condition returns true or false. Link to comment Share on other sites More sharing options...
idnovate.com Posted July 18, 2022 Share Posted July 18, 2022 17 hours ago, stifler97 said: Hi. I know a hook called filterProductSearch. This is what you should do: 1. Create a module and register this hook. 2. Write a method to loop over products. 3. Write another method which checks a single product and based on any condition returns true or false. The problem with this hook is that many modules don't use it. Link to comment Share on other sites More sharing options...
Ali Samie Posted July 18, 2022 Share Posted July 18, 2022 (edited) 3 hours ago, idnovate.com said: The problem with this hook is that many modules don't use it. Yes actually I understand what you mean. Now I am trying to override the listing controllers and I think that is the key to do so. At first I had problems with overriding and found a solution in this post Now I am looking for a way to filter search result in this post Edited July 18, 2022 by stifler97 (see edit history) Link to comment Share on other sites More sharing options...
ventura Posted August 19, 2022 Share Posted August 19, 2022 https://prestahero.com/es/modulos-prestashop/119-hide-out-of-stock-products.html Link to comment Share on other sites More sharing options...
Ali Samie Posted August 19, 2022 Share Posted August 19, 2022 5 hours ago, ventura said: https://prestahero.com/es/modulos-prestashop/119-hide-out-of-stock-products.html Hi. Did you upload this in github? Link to comment Share on other sites More sharing options...
ventura Posted August 19, 2022 Share Posted August 19, 2022 41 minutes ago, stifler97 said: Hi. Did you upload this in github? from @ets-soft Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now