#StackBounty: #magento2 #magento-2.1 Change the checkout form field classes and names

Bounty: 50

I am trying to figure out how to customize the checkout form by changing classes because I want to stylize it with bootstrap instead of the default Magento styles. I don’t see them defined anywhere and with my reading and looking at the Magento developer documentation it looks like they are dynamically generated http://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_new_field.html But in that documentation it doesn’t look like there is any way of adding custom classes to the wrapper elements or anything.

This is the default output for the First Name:

</div>

I would prefer to have an output similar to this:

</div>

Notice how there is now a form-group and form-control class added. How does one accomplish this if everything is dynamically generated?


Get this bounty!!!

Leave a Reply