-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Back in Stock email not triggered in Commerce 5 #35
Comments
Great point, completely overlooked that when bumping it to Commerce 5. What's frustrating however is that there seems to be no inventory-based events available in Commerce 5 to hook into. I'll need to submit a PR to Commerce to add some events so that we can actually know about inventory changes. Otherwise, we're completely stuck! The product/variant link is fixed for the next release. To get this early, run |
Updated in 4.0.6 |
Hi @engram-design, seems like 4.0.6 only addresses the |
Ah, just realised I never linked back the discussion on commerce about this, which I'll need to work on a PR for, so I'll keep this open. |
Describe the bug
In Commerce 5, inventory/stock levels are separate from the Variant element, so the event listener is never triggered.
Additionally, can the dashboard logs be improved so that the product link is to the Variant itself? It currently links to the product type.
Steps to reproduce
Craft CMS version
5.5.8
Plugin version
4.0.5
Multi-site?
No
Additional context
No response
The text was updated successfully, but these errors were encountered: