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

ps_emailalerts - out-of-stock email is sent everytime the product is saved #25981

Closed
florine2623 opened this issue Sep 24, 2021 · 2 comments · Fixed by PrestaShop/ps_emailalerts#91 or #25984
Labels
8.0.x Branch Bug Type: Bug Combinations Product type: issue about products with combinations Email Label: Which BO under menu is concerned Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Module Module PR available Solution: issue is being addressed ps_emailalerts Module: Mail Alerts Verified The issue has been reproduced

Comments

@florine2623
Copy link
Contributor

Describe the bug

With combination products, if one of the combination is out-of-stock and I edit the product, everytime I save it, I'll receive an email.

Expected behavior

I should receive an out-of-stock email alert only once and not everytime I make a change on the product.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Install ps_emailalerts and Configure > Set threshold to 3
  2. Edit a product with combination
  3. Set one combination quantity to 10, second combination to 1 > Save. You should receive email about low stock -> OK
  4. Edit your product description > Save
  5. You will receive again the out-of-stock alert -> NOK

Screenshots

Out-of-stock email sent for each combination :

Screenshot 2021-09-24 at 11 55 31

Additional information

  • PrestaShop version: develop
  • PHP version: 7.3
@florine2623 florine2623 added Bug Type: Bug Combinations Product type: issue about products with combinations develop Branch Email Label: Which BO under menu is concerned Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification ps_emailalerts Module: Mail Alerts Ready Status: Issue is ready to be worked on labels Sep 24, 2021
@prestonBot prestonBot added the PR available Solution: issue is being addressed label Sep 24, 2021
@Hlavtox
Copy link
Contributor

Hlavtox commented Sep 24, 2021

Hi @florine2623, fixed, pls test. ;-)

@marionf marionf added this to To do in Nice To Have via automation Oct 12, 2021
@marionf marionf moved this from To do to To be reviewed in Nice To Have Oct 12, 2021
@MatShir MatShir added the Module Module label Dec 28, 2021
@hibatallahAouadni hibatallahAouadni added 8.0.x Branch Verified The issue has been reproduced and removed develop Branch labels Jan 12, 2022
@arirangz
Copy link

arirangz commented Apr 5, 2022

Hello,

Any update on this one?

All stock email alerts (from module and core) should be sent only when a customer is ordering or if quantity changes from my point of view.

Thanks

Nice To Have automation moved this from To be reviewed to Done Nov 18, 2022
@prestashop-issue-bot prestashop-issue-bot bot removed the Ready Status: Issue is ready to be worked on label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.0.x Branch Bug Type: Bug Combinations Product type: issue about products with combinations Email Label: Which BO under menu is concerned Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Module Module PR available Solution: issue is being addressed ps_emailalerts Module: Mail Alerts Verified The issue has been reproduced
Projects
6 participants