From bc147b0232f766e3af9d62212f3525c49d2808c8 Mon Sep 17 00:00:00 2001 From: luca-landa Date: Fri, 5 Mar 2021 18:56:01 +0100 Subject: Add docs for variant soft deletion support --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6c3ed60..bc7c8bf 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,10 @@ SolidusSubscriptions.configure do |config| end ``` +### Subscription product deletion +When a product is soft deleted, its subscription line items need to be deleted as well, in order to avoid error on subscription processing. +If the product class is `Spree::Variant`, this corner case is handled automatically on the variant soft deletion, otherwise it should be handled manually. + ## Development ### Testing the extension -- cgit v1.2.3