• optional
  • MultipleFlatShipping (optional)

    GitHub - magesuite/multiple-flat-shipping

    The module adds multiple flat shipping methods

    Installation

    This module is optional.

    composer require "creativestyle/magesuite-multiple-flat-shipping" ^1.0.0

    Admin settings

    Custom flat rates can be found in Stores -> Configuration -> Sales-> Delivery methods

     

    Backend

    In progress

     

    Frontend

    In checkout_index_index.xml additional validation for the custom flat rate is added:

    <item name="shipping-step" xsi:type="array"> <item name="children" xsi:type="array"> <item name="step-config" xsi:type="array"> <item name="children" xsi:type="array"> <item name="shipping-rates-validation" xsi:type="array"> <item name="children" xsi:type="array"> <item name="flatrate1-rates-validation" xsi:type="array"> <item name="component" xsi:type="string">MageSuite_MultipleFlatShipping/js/view/shipping-rates-validation/flatrate1</item> </item> </item> </item> </item> </item> </item> </item>