-
Notifications
You must be signed in to change notification settings - Fork 58
feat(donations): add option to flag any WooCommerce product as a donation #4635
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
Open
leogermani
wants to merge
16
commits into
trunk
Choose a base branch
from
feat/donation-product-flag-v2
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+114
−7
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
4cb4a99
feat(donations): add donation product flag checkbox to WC product edi…
leogermani 48822c7
feat(donations): update is_donation_product to check _newspack_is_don…
leogermani 3249838
feat(donations): include flagged products in contribution meter revenue
leogermani 6bc5776
feat(donations): update is_donation_cart to support flagged products
leogermani e7babac
feat(donations): add REST endpoints for flagged donation products
leogermani 9ba0391
feat(donations): add wizard UI for managing flagged donation products
leogermani e75c924
fix(donations): address code review feedback
leogermani 132ab1a
refactor(donations): replace wizard UI with products list column and …
leogermani bb0401b
fix(donations): insert donation column before date column
leogermani 8ccdd2a
fix(donations): fix column insertion priority and position
leogermani 6bd3cfc
refactor(donations): remove donation column, keep only filter
leogermani 5cbf0b5
refactor(donations): remove products list filter
leogermani 8da219c
fix: use woo functions to handle value
leogermani 6fd301b
chore: add memoization
leogermani b9f9093
fix: get all donation products
leogermani 92b6344
fix: consider all donations to get product from order
leogermani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.