Many online store owners put a lot of effort into making their websites as good as possible so that their visitors have a good experience. But some forget to optimize the checkout page so that it has only what it needs.
Sometimes it is not possible to make the checkout fields required or optional in WooCommerce. But some lines of code fix it easily.
When someone misses a field on the checkout page the error message shows at the top of the page by default, making the customer scroll up and down and putting difficulties to them in the last place we would like to. We’re changing that of course.