In the application I'm writing I have to delete a row from my custom table whenever a product is deleted. I was wondering if there is a an OnDelete Event of sorts?
If there isn't, what other ways do you suggest of doing this? Is there a way to extend the Delete method from uCommerce itself?
OnDelete Event?
In the application I'm writing I have to delete a row from my custom table whenever a product is deleted. I was wondering if there is a an OnDelete Event of sorts?
If there isn't, what other ways do you suggest of doing this? Is there a way to extend the Delete method from uCommerce itself?
Thank you,
Thomas
Hi Thomas,
There's a great way to do what you're looking to do: It's called the DeleteProduct pipeline.
You can find it in the /umbraco/ucommerce/pipelines folder.
Extending the pipeline is dcumented in uCommerce Pipelines Explained.
Hope this helps.
Hi Søren,
That indeed looks like just what I need! I'll have to look into this.
Thank you!
is working on a reply...