{"id":332292,"date":"2022-05-02T10:37:56","date_gmt":"2022-05-02T10:37:56","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=332292"},"modified":"2025-12-31T09:59:11","modified_gmt":"2025-12-31T09:59:11","slug":"custom-checkout-step-in-magento2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/","title":{"rendered":"How to Add Custom Checkout Steps in Magento 2?"},"content":{"rendered":"\n<p>Hello,<\/p>\n\n\n\n<p>This topic will cover how to add a custom checkout step in Magento 2. Also, learn about <a href=\"https:\/\/webkul.com\/blog\/b2b-multi-steps-checkout\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 B2B multi-step checkout<\/a> process to how it is useful for business buyers.<\/p>\n\n\n\n<p><strong>Steps:<\/strong><\/p>\n\n\n\n<p>1&gt; Create a checkout step component.<\/p>\n\n\n\n<p>2&gt; Add our custom step into the checkout step Layout.<\/p>\n\n\n\n<p><strong>Step1: Create a checkout step component.<\/strong><\/p>\n\n\n\n<p><strong><em>A&gt; For creating a custom checkout step, first we have to create a (.js) file that implements the new step.<\/em><\/strong><\/p>\n\n\n\n<p>The JS file must be stored under the&nbsp;<code>&lt;your_module_dir&gt;\/view\/frontend\/web\/js\/view<\/code>&nbsp;directory.<\/p>\n\n\n\n<p>Check the following code with comments (custom-step.js)<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">define(&#091;\n    &#039;ko&#039;,\n    &#039;uiComponent&#039;,\n    &#039;underscore&#039;,\n    &#039;Magento_Checkout\/js\/model\/step-navigator&#039;\n], function (ko, Component, _, stepNavigator) {\n    &#039;use strict&#039;;\n\n    \/**\n     * mystep - is the name of the component&#039;s .html template,\n     * Webkul_CheckoutCustomSteps  - is the name of your module directory.\n     *\/\n    return Component.extend({\n        defaults: {\n            template: &#039;Webkul_CheckoutCustomSteps\/mystep&#039;\n        },\n\n        \/\/ add here your logic to display step,\n        isVisible: ko.observable(true),\n\n        \/**\n         * @returns {*}\n         *\/\n        initialize: function () {\n            this._super();\n\n            \/\/ register your step\n            stepNavigator.registerStep(\n                \/\/ step code will be used as step content id in the component template\n                &#039;step_code&#039;,\n                \/\/ step alias\n                null,\n                \/\/ step title value\n                &#039;Custom Step&#039;,\n                \/\/ observable property with logic when display step or hide step\n                this.isVisible,\n\n                _.bind(this.navigate, this),\n\n                \/**\n                 * sort order value\n                 * &#039;sort order value&#039; &lt; 10: step displays before shipping step;\n                 * 10 &lt; &#039;sort order value&#039; &lt; 20 : step displays between shipping and payment step\n                 * &#039;sort order value&#039; &gt; 20 : step displays after payment step\n                 *\/\n                15\n            );\n\n            return this;\n        },\n\n        \/**\n         * The navigate() method is responsible for navigation between checkout steps\n         * during checkout. You can add custom logic, for example some conditions\n         * for switching to your custom step\n         * When the user navigates to the custom step via url anchor or back button we_must show step manually here\n         *\/\n        navigate: function () {\n            this.isVisible(true);\n        },\n\n        \/**\n         * @returns void\n         *\/\n        navigateToNextStep: function () {\n            stepNavigator.next();\n        }\n    });\n});<\/pre>\n\n\n\n<p><strong>B&gt; Add a HTML te<em>mplate<\/em><\/strong><\/p>\n\n\n\n<p>Create a .html (mystep.html) template under the&nbsp;<code>&lt;your_module_dir&gt;\/view\/frontend\/web\/template<\/code>&nbsp;directory.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;!--The &#039;step_code&#039; value from the .js file should be used--&gt;\n&lt;li id=&quot;step_code&quot; data-bind=&quot;fadeVisible: isVisible&quot;&gt;\n    &lt;div class=&quot;step-title&quot; data-bind=&quot;i18n: &#039;Custom Step&#039;&quot; data-role=&quot;title&quot;&gt;&lt;\/div&gt;\n    &lt;div id=&quot;checkout-step-title&quot;\n         class=&quot;step-content&quot;\n         data-role=&quot;content&quot;&gt;\n\n        &lt;form data-bind=&quot;submit: navigateToNextStep&quot; novalidate=&quot;novalidate&quot;&gt;\n            &lt;div class=&quot;actions-toolbar&quot;&gt;\n                &lt;div class=&quot;primary&quot;&gt;\n                    &lt;input type=&quot;text&quot; placeholder=&quot;Custom Field&quot; class=&quot;form-control&quot;\/&gt;\n                    &lt;button data-role=&quot;opc-continue&quot; type=&quot;submit&quot; class=&quot;button action continue primary&quot;&gt;\n                        &lt;span&gt;&lt;!-- ko i18n: &#039;Next&#039;--&gt;&lt;!-- \/ko --&gt;&lt;\/span&gt;\n                    &lt;\/button&gt;\n                &lt;\/div&gt;\n            &lt;\/div&gt;\n        &lt;\/form&gt;\n    &lt;\/div&gt;\n&lt;\/li&gt;<\/pre>\n\n\n\n<p><strong>Step2: Add our custom step into the checkout step Layout.<\/strong><\/p>\n\n\n\n<p>The new step to be displayed on the page, we need to declare it in the Checkout page layout, which is defined in&nbsp;<code>checkout_index_index.xml<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;page xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; layout=&quot;1column&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd&quot;&gt;\n    &lt;body&gt;\n    &lt;referenceBlock name=&quot;checkout.root&quot;&gt;\n        &lt;arguments&gt;\n            &lt;argument name=&quot;jsLayout&quot; xsi:type=&quot;array&quot;&gt;\n                &lt;item name=&quot;components&quot; xsi:type=&quot;array&quot;&gt;\n                    &lt;item name=&quot;checkout&quot; xsi:type=&quot;array&quot;&gt;\n                        &lt;item name=&quot;children&quot; xsi:type=&quot;array&quot;&gt;\n                            &lt;item name=&quot;steps&quot; xsi:type=&quot;array&quot;&gt;\n                                &lt;item name=&quot;children&quot; xsi:type=&quot;array&quot;&gt;\n                                    &lt;!-- The new step you add for last step --&gt;\n                                    &lt;item name=&quot;reviewstep&quot; xsi:type=&quot;array&quot;&gt;\n                                        &lt;item name=&quot;component&quot; xsi:type=&quot;string&quot;&gt;Webkul_CheckoutCustomSteps\/js\/view\/custom-step&lt;\/item&gt;\n                                        &lt;item name=&quot;sortOrder&quot; xsi:type=&quot;string&quot;&gt;1&lt;\/item&gt;\n                                        &lt;item name=&quot;children&quot; xsi:type=&quot;array&quot;&gt;\n                                            &lt;!--add here child component declaration for your step--&gt;\n                                        &lt;\/item&gt;\n                                    &lt;\/item&gt;\n                                &lt;\/item&gt;\n                            &lt;\/item&gt;\n                        &lt;\/item&gt;\n                    &lt;\/item&gt;\n                &lt;\/item&gt;\n            &lt;\/argument&gt;\n        &lt;\/arguments&gt;\n    &lt;\/referenceBlock&gt;\n    &lt;\/body&gt;\n&lt;\/page&gt;<\/pre>\n\n\n\n<p>That&#8217;s it, Now we can check after <strong>cache: flush<\/strong>.<\/p>\n\n\n\n<p><strong>Output<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"623\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-1200x623.png\" alt=\"custom checkout step magento2\" class=\"wp-image-332304\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-1200x623.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-768x399.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38.png 1282w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>We have created a textbox and a next button on the custom steps.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"626\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-35-47-1200x626.png\" alt=\"custom checkout step magento2\" class=\"wp-image-332305\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-35-47-1200x626.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-35-47-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-35-47-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-35-47-768x401.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-35-47.png 1277w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>This is the easiest way to create a <a href=\"https:\/\/devdocs.magento.com\/guides\/v2.4\/howdoi\/checkout\/checkout_new_step.html\">custom step <\/a>in checkout in the Magento2. You may also browse <a href=\"https:\/\/store.webkul.com\/magento2-one-step-checkout.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Checkout Extension<\/a>.<\/p>\n\n\n\n<p>For technical assistance, please get in touch with us via email at&nbsp;<a href=\"mailto:support@webkul.com\" target=\"_blank\" rel=\"noreferrer noopener\">support@webkul.com<\/a>.<\/p>\n\n\n\n<p>Discover powerful solutions to enhance your Magento 2 store by exploring our&nbsp;<a href=\"https:\/\/store.webkul.com\/Magento-2.html\">Magento 2 plugins<\/a>&nbsp;page.<\/p>\n\n\n\n<p>Bring your vision to life with custom-built solutions\u2014hire skilled\u00a0<a href=\"https:\/\/webkul.com\/hire-magento-developers\/\">Magento 2 developers<\/a>\u00a0today.<br>Happy Coding !!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello, This topic will cover how to add a custom checkout step in Magento 2. Also, learn about Magento 2 B2B multi-step checkout process to how it is useful for business buyers. Steps: 1&gt; Create a checkout step component. 2&gt; Add our custom step into the checkout step Layout. Step1: Create a checkout step component. <a href=\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":378,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9121],"tags":[1161,2070],"class_list":["post-332292","post","type-post","status-publish","format-standard","hentry","category-magento-2","tag-checkout","tag-magento2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Custom Checkout Steps in Magento 2? - Webkul Blog<\/title>\n<meta name=\"description\" content=\"This topic will cover how to add a custom checkout step in Magento 2 or create a checkout step component in Magento 2 with the easiest way.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Custom Checkout Steps in Magento 2? - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"This topic will cover how to add a custom checkout step in Magento 2 or create a checkout step component in Magento 2 with the easiest way.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-02T10:37:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-31T09:59:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-1200x623.png\" \/>\n<meta name=\"author\" content=\"Ashish Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashish Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/\"},\"author\":{\"name\":\"Ashish Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/57d23646a58691882a6bd0baf5dadc21\"},\"headline\":\"How to Add Custom Checkout Steps in Magento 2?\",\"datePublished\":\"2022-05-02T10:37:56+00:00\",\"dateModified\":\"2025-12-31T09:59:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/\"},\"wordCount\":245,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-1200x623.png\",\"keywords\":[\"Checkout\",\"Magento2\"],\"articleSection\":[\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/\",\"url\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/\",\"name\":\"How to Add Custom Checkout Steps in Magento 2? - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-1200x623.png\",\"datePublished\":\"2022-05-02T10:37:56+00:00\",\"dateModified\":\"2025-12-31T09:59:11+00:00\",\"description\":\"This topic will cover how to add a custom checkout step in Magento 2 or create a checkout step component in Magento 2 with the easiest way.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38.png\",\"width\":1282,\"height\":666,\"caption\":\"Screenshot-from-2022-05-02-15-33-38\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add Custom Checkout Steps in Magento 2?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/57d23646a58691882a6bd0baf5dadc21\",\"name\":\"Ashish Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3ade0803c37d8f9fe88d8255d0db5361c67b2bc36a6bafa1b3e8804285115c9b?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3ade0803c37d8f9fe88d8255d0db5361c67b2bc36a6bafa1b3e8804285115c9b?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Ashish Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/ashishkumar-mg770\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Custom Checkout Steps in Magento 2? - Webkul Blog","description":"This topic will cover how to add a custom checkout step in Magento 2 or create a checkout step component in Magento 2 with the easiest way.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Custom Checkout Steps in Magento 2? - Webkul Blog","og_description":"This topic will cover how to add a custom checkout step in Magento 2 or create a checkout step component in Magento 2 with the easiest way.","og_url":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-05-02T10:37:56+00:00","article_modified_time":"2025-12-31T09:59:11+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-1200x623.png","type":"","width":"","height":""}],"author":"Ashish Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Ashish Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/"},"author":{"name":"Ashish Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/57d23646a58691882a6bd0baf5dadc21"},"headline":"How to Add Custom Checkout Steps in Magento 2?","datePublished":"2022-05-02T10:37:56+00:00","dateModified":"2025-12-31T09:59:11+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/"},"wordCount":245,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-1200x623.png","keywords":["Checkout","Magento2"],"articleSection":["Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/","url":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/","name":"How to Add Custom Checkout Steps in Magento 2? - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38-1200x623.png","datePublished":"2022-05-02T10:37:56+00:00","dateModified":"2025-12-31T09:59:11+00:00","description":"This topic will cover how to add a custom checkout step in Magento 2 or create a checkout step component in Magento 2 with the easiest way.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/05\/Screenshot-from-2022-05-02-15-33-38.png","width":1282,"height":666,"caption":"Screenshot-from-2022-05-02-15-33-38"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/custom-checkout-step-in-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Add Custom Checkout Steps in Magento 2?"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/57d23646a58691882a6bd0baf5dadc21","name":"Ashish Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3ade0803c37d8f9fe88d8255d0db5361c67b2bc36a6bafa1b3e8804285115c9b?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3ade0803c37d8f9fe88d8255d0db5361c67b2bc36a6bafa1b3e8804285115c9b?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Ashish Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/ashishkumar-mg770\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/332292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/378"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=332292"}],"version-history":[{"count":10,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/332292\/revisions"}],"predecessor-version":[{"id":519625,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/332292\/revisions\/519625"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=332292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=332292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=332292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}