Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aldeed
Copy link
Contributor

@aldeed aldeed commented Feb 6, 2019

Resolves #4945
Resolves #4964
Impact: minor
Type: feature

Issue

#4955 added ability to store custom fields on taxes array items, but there is still a need to store item-level and order-level custom tax data.

Solution

It now allows customFields objects on not only taxes array items, but also on each item tax object, and on taxSummary. Note also that based on discussions since the first PR, the field name has been changed to customFields rather than customData.

Breaking changes

The field name has been changed to customFields rather than customData. This is only breaking since the previous PR, which has not yet been released.

Testing

See #4955 testing instructions

and change name to customFields

Signed-off-by: Eric Dobbertin <[email protected]>
@aldeed aldeed requested review from Akarshit and kieckhafer February 6, 2019 16:45
@aldeed aldeed self-assigned this Feb 6, 2019
@aldeed aldeed added this to the 🏔 Torreys milestone Feb 6, 2019
@aldeed
Copy link
Contributor Author

aldeed commented Feb 6, 2019

@Akarshit Hopefully this should be everything you need

Copy link
Member

@kieckhafer kieckhafer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

CircleCI seems to be down, or broken on this repo at the moment. We should wait until that's fixed before merging.

@aldeed aldeed merged commit 0ef91e9 into develop Feb 7, 2019
@aldeed aldeed deleted the feat-aldeed-4945-custom-tax-data-2 branch February 7, 2019 23:14
@kieckhafer
Copy link
Member

@aldeed Just noticed this is causing issues in the starterkit when placing an order... customFields needs to be added to the Order schema as well.

I'm adding it in the surcharges PR #4829

43186e2

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.

3 participants