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

Variable price option support. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clifgriffin
Copy link

  1. Add price_id for variable price options to purchase method.
  2. Add quantity option.
  3. Remove unnecessary double price sanitation.
  4. Extends get_product_files() to accept variable price id. (for compat with 1)

Let me know if you have any questions about why I did any particular thing. I'm sure there is room for further compatibility fixes here.

2) Add quantity option.
3) Remove unnecessary double price sanitation.
4) Extends get_product_files() to accept variable price id. (for compat with 1)
@norcross
Copy link
Contributor

I'll take a look, but one question about the price: can someone still send a manual price?

@clifgriffin
Copy link
Author

Yup! That was explicitly a feature I needed, so I made sure it still works.

@norcross
Copy link
Contributor

ok, cool. i'll review this over the weekend. thanks!

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

Successfully merging this pull request may close these issues.

2 participants