Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude from Sooqr feed: always show products with stock_qty > 0 #82

Open
margotr opened this issue Dec 6, 2024 · 4 comments
Open

Exclude from Sooqr feed: always show products with stock_qty > 0 #82

margotr opened this issue Dec 6, 2024 · 4 comments

Comments

@margotr
Copy link

margotr commented Dec 6, 2024

Hi,

The Product Filter Options allow me to exclude products based on certain attributes. However, I want to exclude some products that have an attribute corresponding to a certain value AND if that product has a stock_qty of 0. Is there a way to do this? If not via the admin panel, I would like to find the place in the code where I could change this.

Thanks for you help in advance!

@Frank-Magmodules
Copy link
Member

Hi There @margotr ,

Thank you for bringing this issue to our attention. Starting from version 2.0, this option was removed as the filters were deemed unnecessary. Magento already provides a built-in mechanism for this through the visibility settings, allowing you to control whether a product appears in search results or not. By removing these filters, the module aligns more closely with Magento’s default search functionality.

However, we’ve added an option in this version to exclude all out-of-stock products, which might address your requirements. Let us know if this helps or if you have further questions!

@margotr
Copy link
Author

margotr commented Dec 10, 2024

Hmm okay. The problem is that usually, you would exclude out of stock, but for some products with a specific attribute status, these should still be visible if out of stock (because they can still be ordered). So for these products, a full out-of-stock exclusion is not a great idea. We have a large catalog from various suppliers, so going one-by-one through them to change visibility settings would not be feasible.

So I'm guessing the only way to get a specific visibility filter with these conditions is hard coding it?

@Frank-Magmodules
Copy link
Member

Hi there @margotr,

Have you also reached out to Sooqr to see if they can set up some rules on their end for this?

@margotr
Copy link
Author

margotr commented Dec 10, 2024

Thanks, I'll reach out to their support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants