It's a soft / logical delete. It sets the Product.IsDeleted property to true.
theonlylawislove:Maybe we could just simply create relationships that don't get enforced?
Not a fan of that - it puts too much pressure on the developer to understand the intent of the original developer. It might work for me (because I know dC so well), but for someone new, it would be a slippery slope - unless you're a mind reader
.
As I mentioned, we could do a hard delete, in which case you're correct about the relationships - we would have to remove all the dependencies first, then do a hard delete of the product itself. But right now, we don't do hard deletes because of what I mentioned about inventory / reporting.
--
Support dashCommerce -
Buy Our Stuff!!Find a bug? Create a
Work Item for a fast response.. Want to help?
Create a patch for us! Documentation? Help us
write some!