Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <li id="shipping" class="checkout-shipping-address" data-bind="fadeVisible: visible()">
- <div class="step-title" data-bind="i18n: 'Shipping Address'" data-role="title"></div>
- <div id="checkout-step-shipping"
- class="step-content"
- data-role="content">
- <!-- ko if: (!quoteIsVirtual) -->
- <!-- ko foreach: getRegion('customer-email') -->
- <!-- ko template: getTemplate() --><!-- /ko -->
- <!--/ko-->
- <!--/ko-->
- <!-- ko foreach: getRegion('address-list') -->
- <!-- ko template: getTemplate() --><!-- /ko -->
- <!--/ko-->
- <!-- ko foreach: getRegion('address-list-additional-addresses') -->
- <!-- ko template: getTemplate() --><!-- /ko -->
- <!--/ko-->
- <!-- Address form pop up -->
- <!-- ko if: (!isFormInline) -->
- <button type="button"
- data-bind="click: showFormPopUp, visible: !isNewAddressAdded()"
- class="action action-show-popup">
- <span data-bind="i18n: 'New Address'"></span></button>
- <div id="opc-new-shipping-address" data-bind="visible: isFormPopUpVisible()">
- <!-- ko template: 'Magento_Checkout/shipping-address/form' --><!-- /ko -->
- </div>
- <!-- /ko -->
- <!-- ko foreach: getRegion('before-form') -->
- <!-- ko template: getTemplate() --><!-- /ko -->
- <!--/ko-->
- <!-- Inline address form -->
- <!-- ko if: (isFormInline) -->
- <!-- ko template: 'Magento_Checkout/shipping-address/form' --><!-- /ko -->
- <!-- /ko -->
- <!-- Inline Billing address form -->
- <!-- ko foreach: getRegion('billing-address') -->
- <!-- ko template: getTemplate() --><!-- /ko -->
- <!-- /ko -->
- </div>
- <!--ko foreach: { data: rates(), as: 'method'}-->
- <tr class="row" data-bind="click: $parent.selectShippingMethod">
- <td class="col col-method">
- <!-- ko ifnot: method.error_message -->
- <!-- ko if: $parent.rates().length == 1 -->
- <input class="radio"
- type="radio"
- data-bind="attr: {
- checked: $parent.rates().length == 1,
- 'value' : method.carrier_code + '_' + method.method_code,
- 'id': 's_method_' + method.method_code,
- 'aria-labelledby': 'label_method_' + method.method_code + '_' + method.carrier_code + ' ' + 'label_carrier_' + method.method_code + '_' + method.carrier_code
- }" />
- <!-- /ko -->
- <!--ko ifnot: ($parent.rates().length == 1)-->
- <input type="radio"
- data-bind="
- value: method.carrier_code + '_' + method.method_code,
- checked: $parent.isSelected,
- attr: {
- 'id': 's_method_' + method.carrier_code + '_' + method.method_code,
- 'aria-labelledby': 'label_method_' + method.method_code + '_' + method.carrier_code + ' ' + 'label_carrier_' + method.method_code + '_' + method.carrier_code
- },
- click: $parent.selectShippingMethod"
- class="radio"/>
- <!--/ko-->
- <!-- /ko -->
- </td>
- <td class="col col-price">
- <!-- ko foreach: $parent.getRegion('price') -->
- <!-- ko template: getTemplate() --><!-- /ko -->
- <!-- /ko -->
- </td>
- <td class="col col-method"
- data-bind="text: method.method_title, attr: {'id': 'label_method_' + method.method_code + '_' + method.carrier_code}"></td>
- <td class="col col-carrier"
- data-bind="text: method.carrier_title, attr: {'id': 'label_carrier_' + method.method_code + '_' + method.carrier_code}"></td>
- </tr>
- <!-- ko if: method.error_message -->
- <tr class="row row-error">
- <td class="col col-error" colspan="4">
- <div class="message error">
- <div data-bind="text: method.error_message"></div>
- </div>
- <span class="no-display">
- <input type="radio" data-bind="attr: {'value' : method.method_code, 'id': 's_method_' + method.method_code}"/>
- </span>
- </td>
- </tr>
- <!-- /ko -->
- <!-- /ko -->
- </tbody>
- </table>
- </div>
- <div id="onepage-checkout-shipping-method-additional-load">
- <!-- ko foreach: getRegion('shippingAdditional') -->
- <!-- ko template: getTemplate() --><!-- /ko -->
- <!-- /ko -->
- </div>
- <!-- ko if: errorValidationMessage().length > 0 -->
- <div class="message notice">
- <span><!-- ko text: errorValidationMessage()--><!-- /ko --></span>
- </div>
- <!-- /ko -->
- <div class="actions-toolbar" id="shipping-method-buttons-container">
- <div class="primary">
- <button data-role="opc-continue" type="submit" class="button action continue primary">
- <span><!-- ko i18n: 'Next'--><!-- /ko --></span>
- </button>
- </div>
- </div>
- </form>
- <!-- /ko -->
- <!-- ko ifnot: rates().length > 0 --><div class="no-quotes-block"><!-- ko i18n: 'Sorry, no quotes are available for this order at this time'--><!-- /ko --></div><!-- /ko -->
- </div>
- </div>
Add Comment
Please, Sign In to add comment