Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

Subscriptions Management: Adding a bundle to a Subscription always creates new line items even if an identically-configured bundle exists #269

Closed
manospsyx opened this issue Feb 7, 2018 · 1 comment

Comments

@manospsyx
Copy link
Member

manospsyx commented Feb 7, 2018

Related #260

To tackle this, we'll need to compare the configuration "identifier" of a bundle (or composite) with that stored as line item meta (_stamp or _composite_data).

If these two match, parent + child line item quantities should be modified (instead of creating a new group) when the container quantity is modified, possible using existing action hook, maybe wcsatt_add_product_to_subscription_line_item_quantity_updated?

@manospsyx manospsyx self-assigned this Feb 7, 2018
@manospsyx manospsyx changed the title Increment line item quantity when adding a bundle to a Subscription containing an identically configured instance Subscriptions Management: Adding a bundle to a Subscription always creates new line items even if an identically-configured bundle exists Feb 14, 2018
@manospsyx manospsyx removed the feature label Apr 24, 2018
@manospsyx
Copy link
Member Author

Moved to the APFS repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant