{##
 # Shipping methods block
 #}
<shipping-methods inline-template>

  {% if this.isShippingAvailable() %}

    {{ widget('\\XLite\\Module\\XC\\FastLaneCheckout\\View\\Blocks\\ShippingMethods\\Selector') }}

  {% else %}
    <div class="shipping-methods-not-available-wrapper" {% if this.isAddressCompleted() %}data-error-msg="{{ this.getErrorMessage() }}"{% endif %}>
      {% if this.isAddressCompleted() %}
        <p class="shipping-methods-not-avail">{{ this.getShippingNotAvailableNotification() }}</p>
      {% else %}
        <p class="address-not-defined">{{ t('Enter the shipping address to see delivery methods available to you') }}</p>
      {% endif %}
    </div>
  {% endif %}

  {{ widget_list('checkout_fastlane.blocks.shipping_methods.append') }}

  <script type="application/javascript">
    if ('undefined' === typeof(window.WidgetData)) { window.WidgetData = {}; }
    window.WidgetData["shipping-methods"] = {{ this.getWidgetData()|raw }};
    window.shippingMethodsList = {{ this.getShippingMethodsList() | raw }};
  </script>
</shipping-methods>