Skip to content

Commit

Permalink
BB-21120: Product Kits (#36267)
Browse files Browse the repository at this point in the history
- added support for product kits in checkout and orders
  • Loading branch information
webevt authored Oct 23, 2023
1 parent 119bab3 commit 371efe5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ The current file describes significant changes in the code that may affect the u

## Changes in the Сommerce-Demo-Checkouts package versions

### UNRELEASED

#### Removed
* Deprecated `Oro\Bundle\AlternativeCheckoutBundle\EventListener\QuantityToOrderConditionListener`. Will be moved to the validation.yml config instead.

### 4.2.0 (2020-01-29)

OroAlternativeCheckoutBundle has been moved from the `oro/commerce` package to the `oro/commerce-demo-checkouts` package.
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,13 @@ workflows:

place_order_definition:
preactions:
- '@run_action_group':
action_group: order_line_items_not_empty
parameters_mapping:
checkout: $checkout
results:
result.orderLineItemsNotEmpty: $.orderLineItemsNotEmpty
result.orderLineItemsNotEmptyForRfp: $.orderLineItemsNotEmptyForRfp
- '@flash_message':
conditions:
'@and':
Expand Down Expand Up @@ -1215,6 +1222,13 @@ workflows:

preconditions:
'@and':
- '@equal': [$checkout.completed, false]
- '@equal':
parameters: [$.result.orderLineItemsNotEmptyForRfp, true]
message: oro.checkout.workflow.condition.order_line_items_not_empty.not_allow_rfp.message
- '@equal':
parameters: [$.result.orderLineItemsNotEmpty, true]
message: oro.checkout.workflow.condition.order_line_items_not_empty.allow_rfp.message
- '@not_empty': $.result.paymentContext
- '@equal':
parameters: [$.result.shippingMethodHasEnabledShippingRules, true]
Expand Down

0 comments on commit 371efe5

Please sign in to comment.