solidusio / solidus_subscriptions

An extension to add subscriptions to your Solidus store.
BSD 3-Clause "New" or "Revised" License
48 stars 53 forks source link

Add option to skip some items on a subscription #270

Open chrean opened 1 year ago

chrean commented 1 year ago

There are some use cases where, on a subscription, users may need to skip the delivery of some items. This may happen e.g., when a subscription contains items consumed with different frequencies, causing some to stockpile.

Adding an option to skip some items from the next shipment would solve this problem.

For additional context, one possible way to solve this at the moment is by updating the actionable_date on the SubscriptionLineItem model. Then, when processing the subscription, one would only charge the user for the items whose actionable date is equal to or before the current date.