cancel
Showing results for 
Search instead for 
Did you mean: 

Add custom fields to the checkout page

Add custom fields to the checkout page

Hello!

I'm new to Magento2 and I was wondering if there's a way to customize the checkout page (and possibly other form pages) without the use of external plugins or extensions.

Are there any resources on this topic?

 

Specifically I want to limit which countries I ship to, add additional fields to the address section, and other stuff similar to that. How long would something like that take to implement?

I've been told by other developers that implementing such a change can take over a week. Is this really the case?

 

I can provide more information if needed.

Thanks

2 REPLIES 2

Re: Add custom fields to the checkout page

Hi @sherin_farid,

 

Some options can be configured from the backend.

For example: https://docs.magento.com/m2/ce/user_guide/stores/country-options.html

 

Also, you'll find the shipping basic options here: https://docs.magento.com/m2/ce/user_guide/shipping/shipping.html

 

Regarding the checkout customization that will be a little bit harder and you will need some techinical knowledge: https://devdocs.magento.com/guides/v2.2/howdoi/checkout/checkout_overview.html

 

Which fields do you need to add?

Re: Add custom fields to the checkout page

Hi @Damian Culotta

 

Thanks for the reply!

 

I need to add a custom optional number input for the address at checkout, each building in that specific region has a unique number that can be used (not the zip/postal code)

Also trying to integrate a google map so users can verify the address they entered is correct (or in the case of self-pick up, it would show the store's location)