How can I trigger a webhook on afterSave with the product entries?
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 56
- Forks
- 30
- Avg merge
- 11h 15m
- Merged PRs (30d)
- 2
Description
Hi,
I'd like to clear some Cloudflare caches after saving a product. I cannot trigger it on craft\elements\Entry as it seems, and craft\shopify\services\Products doesnt have a afterSave event.
Thanks!
Mathieu
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the product save flow through craft\elements\Entry and craft\shopify\services\Products, then inspect how save events are exposed in the repository. Determine whether an afterSave hook exists for product entries and what event or extension point could support the requested Cloudflare cache webhook; done means a documented, supported trigger or a clearly scoped implementation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100