Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Thomas 13 posts 43 karma points
    Dec 11, 2012 @ 16:29
    Thomas
    0

    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

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 14, 2012 @ 10:52
    Søren Spelling Lund
    0

    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.

  • Thomas 13 posts 43 karma points
    Dec 14, 2012 @ 17:21
    Thomas
    0

    Hi Søren,

    That indeed looks like just what I need! I'll have to look into this.

    Thank you!

Please Sign in or register to post replies

Write your reply to:

Draft