Copied to clipboard

Flag this post as spam?

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


  • Edgar Rasquin 326 posts 925 karma points
    Apr 30, 2021 @ 10:53
    Edgar Rasquin
    0

    delete an order when the corresponding product has been deleted

    Hi Matt,

    how can I delete an order when the corresponding product or product variant has been deleted?

    Unable to modify product stock as no stock source could be found: 
    ProductReference = 9143b833-4610-4ebc-8a20-0965f9e3a692, 
    ProductVariantReference =
    

    Thanks

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Apr 30, 2021 @ 12:57
    Matt Brailsford
    1

    Hi Edgar,

    I'm assuming you are saying you get that error when you attempt to delete the order?

    If so, upgrading to 1.7.2 should no longer throw that exception and instead will just log the error to the trace log.

    Hope that helps

    Matt

  • Edgar Rasquin 326 posts 925 karma points
    Apr 30, 2021 @ 14:27
    Edgar Rasquin
    0

    Thanks Matt,

    upgraded. Works fine now!

Please Sign in or register to post replies

Write your reply to:

Draft