Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  2. <body>
  3. <referenceBlock name="checkout.root">
  4. <arguments>
  5. <argument name="jsLayout" xsi:type="array">
  6. <item name="components" xsi:type="array">
  7. <item name="checkout" xsi:type="array">
  8. <item name="children" xsi:type="array">
  9. <item name="steps" xsi:type="array">
  10. <item name="children" xsi:type="array">
  11. <item name="shipping-step" xsi:type="array">
  12. <item name="children" xsi:type="array">
  13. <item name="shippingAddress" xsi:type="array">
  14. <item name="component" xsi:type="string">Vendor_CheckoutStep/js/view/krish-shipping</item>
  15. </item>
  16. </item>
  17. </item>
  18. </item>
  19. </item>
  20. </item>
  21. </item>
  22. </item>
  23. </argument>
  24. </arguments>
  25. </referenceBlock>
  26. </body>
  27. </page>
  28.  
  29. define(
  30. [
  31. 'jquery',
  32. 'ko',
  33. 'Magento_Checkout/js/view/shipping'
  34. ],
  35. function(
  36. $,
  37. ko,
  38. Component
  39. ) {
  40. 'use strict';
  41. return Component.extend({
  42. defaults: {
  43. template: 'Vendor_CheckoutStep/shipping'
  44. },
  45.  
  46. initialize: function () {
  47. var self = this;
  48. this._super();
  49. }
  50.  
  51. });
  52. }
  53. );
  54.  
  55. <!--Shipping method template-->
  56. <li id="opc-shipping_method"
  57. class="checkout-shipping-method"
  58. data-bind="fadeVisible: visible(), blockLoader: isLoading"
  59. role="presentation">
  60. <div class="checkout-shipping-method">
  61. <div class="step-title" data-bind="i18n: 'Shipping Methods'" data-role="title"></div>
  62. <div data-bind="i18n: 'Your Custom Message'" data-role="title"></div>
  63. </div>
  64. </li>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement