title | issue |
---|---|
Add Customer entity when order is in context on Flow builder |
NEXT-17902 |
- Added implementation
CustomerAware
in these events:OrderStateMachineStateChangeEvent
CheckoutOrderPlacedEvent
CustomerChangedPaymentMethodEvent
- Added
getCustomerId
function into these events:OrderStateMachineStateChangeEvent
CheckoutOrderPlacedEvent
CustomerChangedPaymentMethodEvent
- Added new exception
src/Core/Content/Flow/Exception/CustomerDeletedException.php
- Changed
execute
function insrc/Core/Content/Flow/Dispatching/FlowExecutor.php
to add exception message and code when throwExecuteSequenceException
.
- Added
mapActionType
function intosrc/module/sw-flow/service/flow-builder.service.js
to map correct action name. - Added
getAvailableEntities
function intosrc/module/sw-flow/service/flow-builder.service.js
to get available entities for modal action. - Changed
getActionTitle
function insrc/module/sw-flow/service/flow-builder.service.js
to get correct action name bymapActionType
function. - Changed
createdComponent
method insrc/module/sw-flow/component/modals/sw-flow-tag-modal/index.js
to get correct entity when created component. - Changed
onSaveActionSuccess
method insrc/module/sw-flow/component/sw-flow-sequence-action/index.js
to get correct action name bymapActionType
function before saving. - Changed
getEntityOptions
method insrc/module/sw-flow/component/modals/sw-flow-tag-modal/index.js
andsrc/module/sw-flow/component/modals/sw-flow-set-entity-custom-field-modal/index.js
to get entity options byflowBuilderService
. - Changed
entityOptions
computed insrc/module/sw-flow/component/modals/sw-flow-affiliate-and-campaign-code-modal/index.js
to get entity options byflowBuilderService
. - Added prop
action
to:src/module/sw-flow/component/sw-flow-sequence-modal/index.js
src/module/sw-flow/component/modals/sw-flow-tag-modal/index.js
src/module/sw-flow/component/modals/sw-flow-set-entity-custom-field-modal/index.js
src/module/sw-flow/component/modals/sw-flow-affiliate-and-campaign-code-modal/index.js