https://github.com/magesuite/business-checkout
This module adds an additional field in the checkout with customer type, which can be private or business. for business customers additional fields: company and Vat ID are shown.
Installation
This module is optional
composer require "creativestyle/magesuite-business-checkout" ^1.0.0
Admin settings
In order to enable business checkout set Stores -> Configuration ->MageSuite -> Business Checkout
is enabled to Yes
Frontend
With business checkout there is an additional dropdown field in the forms:
It allows one to choose between private
and business
customer types:
There are business type-only fields: Company and VAT ID. They are shown when the business customer type is chosen and hidden when the private customer type is selected.
Company and VAT ID must be enabled in the admin panel (Stores -> Configuration -> Customers > Customer Configuration -> Name and Address Options)
and Show VAT Number on Storefront ste to yes (in Show VAT Number on Storefront tab)
Customer Type is saved along with the address.
TODO - BE documentation and review of documentation is needed