Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
- <body>
- <referenceBlock name="checkout.root">
- <arguments>
- <argument name="jsLayout" xsi:type="array">
- <item name="components" xsi:type="array">
- <item name="checkout" xsi:type="array">
- <item name="children" xsi:type="array">
- <item name="steps" xsi:type="array">
- <item name="children" xsi:type="array">
- <item name="shipping-step" xsi:type="array">
- <item name="children" xsi:type="array">
- <item name="shippingAddress" xsi:type="array">
- <item name="component" xsi:type="string">Vendor_CheckoutStep/js/view/krish-shipping</item>
- </item>
- </item>
- </item>
- </item>
- </item>
- </item>
- </item>
- </item>
- </argument>
- </arguments>
- </referenceBlock>
- </body>
- </page>
- define(
- [
- 'jquery',
- 'ko',
- 'Magento_Checkout/js/view/shipping'
- ],
- function(
- $,
- ko,
- Component
- ) {
- 'use strict';
- return Component.extend({
- defaults: {
- template: 'Vendor_CheckoutStep/shipping'
- },
- initialize: function () {
- var self = this;
- this._super();
- }
- });
- }
- );
- <!--Shipping method template-->
- <li id="opc-shipping_method"
- class="checkout-shipping-method"
- data-bind="fadeVisible: visible(), blockLoader: isLoading"
- role="presentation">
- <div class="checkout-shipping-method">
- <div class="step-title" data-bind="i18n: 'Shipping Methods'" data-role="title"></div>
- <div data-bind="i18n: 'Your Custom Message'" data-role="title"></div>
- </div>
- </li>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement