feat(promotion, dashboard, core-flows, cart, types, utils, medusa): tax inclusive promotions (#12412)
* feat: tax inclusive promotions * feat: add a totals test case * feat: add integration test * chore: changeset * fix: typo * chore: refactor * fix: tests * fix: rest of buyget action tests * fix: cart spec * chore: expand integration test with item level totals * feat: add a few more test cases --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
@@ -7362,6 +7362,9 @@
|
||||
"clearAll": {
|
||||
"type": "string"
|
||||
},
|
||||
"taxInclusive": {
|
||||
"type": "string"
|
||||
},
|
||||
"amount": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -7428,6 +7431,7 @@
|
||||
"allocation",
|
||||
"addCondition",
|
||||
"clearAll",
|
||||
"taxInclusive",
|
||||
"amount",
|
||||
"conditions"
|
||||
],
|
||||
@@ -7626,6 +7630,19 @@
|
||||
"required": ["existing", "new", "none"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"taxInclusive": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["title", "description"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"status": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -7852,6 +7869,7 @@
|
||||
"and",
|
||||
"selectAttribute",
|
||||
"campaign",
|
||||
"taxInclusive",
|
||||
"status",
|
||||
"method",
|
||||
"max_quantity",
|
||||
|
||||
Reference in New Issue
Block a user