Skip to content
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

Adding MMPU compatibility for discounting products #176

Merged
merged 3 commits into from
Jan 16, 2023

Conversation

dparker1005
Copy link
Member

The new solution will find the largest discount possible based on the user's current membership levels and all membership products in their cart (besides for the product that we are calculating a price for).

@michaelbeil
Copy link

michaelbeil commented Dec 7, 2022

This worked for a customer (ticket 463168).

* Work towards supporting variation products when trying to discount.

* Moved product_id higher up so it's available throughout the pmprowoo_get_membership_price function sooner.
@andrewlimaza andrewlimaza added the ✓ Ready for Merge Pull requests that have been reviewed and confirmed by PM as ready for merge label Dec 15, 2022
@andrewlimaza andrewlimaza merged commit fda6eb6 into strangerstudios:dev Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✓ Ready for Merge Pull requests that have been reviewed and confirmed by PM as ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants