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

Allow config option to only send back in stock e-mail when real stock greater than 0 #9

Open
nicoes opened this issue Oct 20, 2023 · 0 comments

Comments

@nicoes
Copy link

nicoes commented Oct 20, 2023

At the moment we are showing the back in stock e-mail input field when products are out of stock and also when the item is "saleable" through the out of stock threshold. Example: real stock is -5 and out of stock threshold is 1000. Then the saleable level is 995

We don't want to send the back in stock e-mail for users that have subscribed for such products when the stock is updated and that triggers the stock movement event, which triggers the back in stock mail.

One idea is to make this configurable in the plug-in: if plugin user wants to use the saleable stock level or the real stock as a trigger.

What do you think?

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

1 participant