Hello,
I would like to ask for your checkout page on my website:
https://drenalab.it/checkout/
I need to configure the checkout form so that mandatory fields change depending on the customer type:
Private customer (Privato / Individual)
The field Codice Fiscale must be mandatory, as it is required for issuing the invoice.
Company (Azienda)
The fields Partita IVA and PEC email address must be mandatory for invoicing purposes.
Ideally, the checkout should allow the customer to choose whether they are a private individual or a company, and based on that selection, the required fields should automatically change.
Thank you in advance for your support.
Best regards,
Vitalii