-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carrying over the quantity of existing line items to new line items #13
Comments
Another approach would be to setup Each Line Item subscription triggers like we have on most Order triggers. That would allow access to specific line item variables. |
Another idea is to have a way to inherit or copy data from one line item to another via a new fields on the _Add Product action. For example, add a new Inherit Quantity checkbox and when that's chosen, display a select field for the store manager to choose the product to inherit from. |
New Each Line Item triggers, like a Subscription Renewal Payment Complete - Each Line Item trigger will likely be the best solution to this.
Update: the Product is rule can be used to filter the line item. |
We can probably apply reuse the |
I think these new triggers can go in AW core. What do think? |
I think in general it makes sense to add most new subscriptions functionality to this add-on. But if you think these triggers are warranted in core, I'm totally fine with adding them there. |
My thinking is that the add-on should contain advanced or edge case functionality. I think for these triggers it makes sense to have them in core since we already have the order each line item triggers there. |
OK let's do them in core. I'll open an issue there and close this one. 👍 |
From a customer:
Rephrasing: the customer purchases product A, then when product B gets added to the subscription, we want to use the same line item quantity for Product B as the quantity paid for with product A.
There is currently no way to change a subscription product, and use the quantity of a product previously on the subscription.
A fairly common request from customers is to create sequential subscriptions, where a customer receives a series of items based on their sign-up date, or seasonal subscriptions, where a customer receives a different item each week or month, again, based on
There are two broad approaches to achieve this:
The former is the simplest approach, and likely easiest to understand. But the later is needed in the case where the subscription product is kept on the subscription over its whole lifecycle, and additional products are added/removed on top of that. Keeping the original product on the subscription is a good approach, because it ensures reports are accurate (e.g. if you want to see total revenue for that subscription product). To do that, you'd need to get the quantity from one line item and apply it to the other.
The text was updated successfully, but these errors were encountered: