Condition Shipping Method

<sw-condition-shipping-method> extends <sw-condition-base>

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

Usage

<sw-condition-shipping-method :condition="condition" :level="0"></sw-condition-shipping-method>

Methods

Method name Parameters
createdComponent No parameters
setShippingMethodIds shippingMethods

Imports

  • ./sw-condition-shipping-method.html.twig

Inject

  • repositoryFactory

Twig blocks

  • sw_condition_shipping_method_field_operator
  • sw_condition_shipping_method_field_shipping_method_ids
  • sw_condition_value_content