summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluca-landa <lucalanda@hotmail.it>2021-03-05 18:56:01 +0100
committerluca-landa <lucalanda@hotmail.it>2021-03-12 09:31:01 +0100
commitbc147b0232f766e3af9d62212f3525c49d2808c8 (patch)
treea7c4405c2489d60f4b6dfc2ed4a87119e103abf4
parentd97bba60a4b9e56e549de0fecf7c83b2b6f0a093 (diff)
Add docs for variant soft deletion support
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
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