cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a custom step in magento2 checkout only for a particular product

How to add a custom step in magento2 checkout only for a particular product

There is the task which, I'm looking for a solution. Before placing the order with a particular product (not for all products), based on the product quantity in the cart, should show dynamic fields to enter some information. Like if the product is an online course it should show the fields to enter the name of the attendees. And save that in the custom table.

I tried adding a step in between shipping and payment. By referring to the dev docs, but missing something it not showing the fields

Can anyone give me some hints or steps to solve this? Thanks in advance

5 REPLIES 5

Re: How to add a custom step in magento2 checkout only for a particular product

Please try this https://www.mageplaza.com/devdocs/add-custom-checkout-step-magento-2.html
Hope it will work

 

Click Kudos & Accept as Solution

Re: How to add a custom step in magento2 checkout only for a particular product

Before placing the order with a particular product (not for all products), based on the product quantity in the cart, should show dynamic fields to enter some information. Like if the product is an online course it should show the fields to enter the name of the attendees. And save that in the custom table.

 

I hope you got your answer

Re: How to add a custom step in magento2 checkout only for a particular product

Ask me if you have any other query

Re: How to add a custom step in magento2 checkout only for a particular product

Thank you for the response. I havd some doubts like

1.Which method can I use? Ive planned to go with observer to override the checkout event.Is that right way or any other simple solutions available ?

Re: How to add a custom step in magento2 checkout only for a particular product

Hi,

You can try this Magento 2 One Step Checkout.

With 75% faster than default checkout, Magento 2 one page checkout speeds up the whole checkout process thus considerably boost your sales & revenue. By using Google suggestion and displaying all information on only one page, Magento 2 One step checkout automates all shopping actions!

Prominent features:

-Google address & customers' account auto-suggestion FEATURED
-Optimized ONE step checkout page onlyOptimized for mobile checkout FEATURED
-Neat and clean interface
-Easy to set desired delivery date & order comment

-Support the most popular shipping & payment method
-Instantly apply coupon and gift options

-Inspiring gift items & Wonderful gift order
-Powerful social login support
-1-Click to edit and remove product options
-1-Click changing billing section position
-Always display the “Place order” button FEATURED
-User- friendly configuration, Support various skins

-Custom text, icon & disable redundant fields on admin easily
Good luck!