Condition Line Item

<sw-condition-line-item> extends <sw-condition-base>

prototype
Condition for the LineItemRule. This component must a be child of sw-condition-tree.

Usage

<sw-condition-line-item :condition="condition" :level="0"></sw-condition-line-item>

Methods

Method name Parameters
createdComponent No parameters
setIds productCollection

Imports

  • ./sw-condition-line-item.html.twig
  • ./sw-condition-line-item.scss

Inject

  • repositoryFactory

Twig blocks

  • sw_condition_line_item_field_operator
  • sw_condition_line_item_results_variant_info
  • sw_condition_line_item_results_list_result_label
  • sw_condition_line_item_field_identifier
  • sw_condition_value_content

Slots

  • selection-label-property
  • result-item