diff options
author | luca-landa <lucalanda@hotmail.it> | 2021-03-05 18:56:01 +0100 |
---|---|---|
committer | luca-landa <lucalanda@hotmail.it> | 2021-03-12 09:31:01 +0100 |
commit | bc147b0232f766e3af9d62212f3525c49d2808c8 (patch) | |
tree | a7c4405c2489d60f4b6dfc2ed4a87119e103abf4 | |
parent | d97bba60a4b9e56e549de0fecf7c83b2b6f0a093 (diff) |
Add docs for variant soft deletion support
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |