How to configure a checkout for electronic invoice with YITH WooCommerce Checkout Manager
This guide helps you create a checkout that supports an electronic invoice module for Italian customers, using the plugin YITH WooCommerce Checkout Manager.
Create the following fields:
- tipologia_utente (type "Select")
- vat (type "Text")
- ssn (type "Text")
- vat (type "Text")
- sdi (type "Text")
- pec (type "text")
Then click on the "Save" button at the bottom of the page.
Now, one by one, set the logical conditions on the fields that you've just created to make sure they are shown or hidden according to the User type (company or private customer) and the selected Billing Country (fields that should be visible only for Italian customers).
Customer type
Company name (default WooCommerce field)
VAT
Codice fiscale
Codice univoco
PEC