feat: carry over promotions toggle on exchanges (#14128)
* feat: carry over promotions toggle on exchanges * fix: inital flag value, return the flag on preview * fix: validation of allocation type * fix: revert client changes * fix: invert condition * feat: recompute adjustments when outbound item is updated * fix: condition again * fix: display more accurate inbound/outbound totals for exchanges * fix: make exchanges specs green * feat: more testing cases * wip: pr feedback * fix: use plural for the flag on Admin * fix: schema test, route refactor * feat: tooltip * feat: refactor to use update workflow * feat: display applied promotion per item on order details, show copy sku on hover * feat: refactor edits and exchanges to have common flag toggle flow * fix: delete empty file * fix: exchange_id param query
This commit is contained in:
@@ -2008,6 +2008,7 @@
|
||||
"uploadImagesLabel",
|
||||
"uploadImagesHint",
|
||||
"invalidFileType",
|
||||
"fileTooLarge",
|
||||
"failedToUpload",
|
||||
"deleteWarning_one",
|
||||
"deleteWarning_other",
|
||||
@@ -4907,6 +4908,15 @@
|
||||
"refundAmount": {
|
||||
"type": "string"
|
||||
},
|
||||
"carryOverPromotion": {
|
||||
"type": "string"
|
||||
},
|
||||
"carryOverPromotionHint": {
|
||||
"type": "string"
|
||||
},
|
||||
"carryOverPromotionTooltip": {
|
||||
"type": "string"
|
||||
},
|
||||
"activeChangeError": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4988,6 +4998,9 @@
|
||||
"outboundShipping",
|
||||
"outboundShippingHint",
|
||||
"refundAmount",
|
||||
"carryOverPromotion",
|
||||
"carryOverPromotionHint",
|
||||
"carryOverPromotionTooltip",
|
||||
"activeChangeError",
|
||||
"actions",
|
||||
"cancel",
|
||||
|
||||
@@ -1305,6 +1305,9 @@
|
||||
"outboundShipping": "Outbound shipping",
|
||||
"outboundShippingHint": "Choose which method you want to use.",
|
||||
"refundAmount": "Estimated difference",
|
||||
"carryOverPromotion": "Carry over promotions",
|
||||
"carryOverPromotionHint": "Apply the order's promotions to the exchange items",
|
||||
"carryOverPromotionTooltip": "Only fixed type promotions with EACH allocation and percentage type promotions with EACH or ACROSS allocation can be carried over to outbound exchange items.",
|
||||
"activeChangeError": "There is an active order change on this order. Please finish or discard the previous change.",
|
||||
"actions": {
|
||||
"cancelExchange": {
|
||||
|
||||
Reference in New Issue
Block a user