first of all, thank you for the great support so far.
I have a question regarding custom registration fields. Is it possible to restrict a custom registration field to selected countries in the same way the VAT number field works? For example, I want Italian consumers to be required to fill it in, while French and others consumers should not see it at all.
The problem: when I choose the WooCommerce Billing Field-Connection, the VAT registration field disappears. Could you please advise on how to configure this correctly, or if there is a workaround to achieve this country-based restriction?
The plugin doesn't have this country-specific field visibility feature by default, but I can definitely help with a custom script to set it up.
You can go ahead and set up your custom registration fields at https://www.finlip.info/mein-konto/ Once you have them configured, just let me know which specific fields should be visible for which countries (e.g., "Field X for Italy only, Field Y for France and Germany," etc.), and I'll send you a custom script that will handle this.
at the moment, I’ve created the PEC/SDI field twice. Basically, it’s only required for Italian customers. Dealers already enter it directly in the registration section, so that problem is solved. (Italian Resellers know that, but it would be great if als this field would be required for Italians)
The second PEC/SDI field applies to craftsmen and others. To keep the registration process simple, it’s currently deactivated there. However, it’s important that:
It is only visible and mandatory for the groups Carftsman (Handwerker) and Others (sonstige).
It is only mandatory for B2B customers from Italy.
And it must also be required in the checkout (Italy), since I need this information for the Italian electronic invoicing.
Thanks for getting back to me with those details. Certainly, we can apply a custom script to set your requirements.
It would be easier to work with a single PEC/SDI field, and we can handle the different requirements through the script. So I would recommend that you keep only one field.
My understanding so far based on your message is that you need the 'PEC/SDI' field configured as follows:
Visible for: - Handel - Handwerker - Sonstige
Required if: - Country selected is Italy (for all 3 groups).
If this understanding is incorrect or incomplete, please clarify the required logic for me.
Please note that you should enable the Country field for all dropdown options (it's currently disabled for Handwerk / Sonstige). To do this, edit it in B2BKing -> Registration fields and choose all roles.
Regarding setting a similar script at checkout, I would need at least a B2B customer login on your site so that I can access the checkout page, can you please provide that?
Hello Support Team,
first of all, thank you for the great support so far.
I have a question regarding custom registration fields. Is it possible to restrict a custom registration field to selected countries in the same way the VAT number field works? For example, I want Italian consumers to be required to fill it in, while French and others consumers should not see it at all.
The problem: when I choose the WooCommerce Billing Field-Connection, the VAT registration field disappears. Could you please advise on how to configure this correctly, or if there is a workaround to achieve this country-based restriction?
Best regards,
Michael
Attached files: Screenshot 2025-09-18 155944.png
Hi Michael,
Thanks for reaching out and for the kind words!
The plugin doesn't have this country-specific field visibility feature by default, but I can definitely help with a custom script to set it up.
You can go ahead and set up your custom registration fields at https://www.finlip.info/mein-konto/ Once you have them configured, just let me know which specific fields should be visible for which countries (e.g., "Field X for Italy only, Field Y for France and Germany," etc.), and I'll send you a custom script that will handle this.
Kind regards,
Stefan
Hey Stefan,
at the moment, I’ve created the PEC/SDI field twice. Basically, it’s only required for Italian customers. Dealers already enter it directly in the registration section, so that problem is solved. (Italian Resellers know that, but it would be great if als this field would be required for Italians)
The second PEC/SDI field applies to craftsmen and others. To keep the registration process simple, it’s currently deactivated there. However, it’s important that:
It would be great if you had a solution for this.
Hi Michael,
Thanks for getting back to me with those details. Certainly, we can apply a custom script to set your requirements.
It would be easier to work with a single PEC/SDI field, and we can handle the different requirements through the script. So I would recommend that you keep only one field.
My understanding so far based on your message is that you need the 'PEC/SDI' field configured as follows:
Visible for:
- Handel
- Handwerker
- Sonstige
Required if:
- Country selected is Italy (for all 3 groups).
If this understanding is incorrect or incomplete, please clarify the required logic for me.
To achieve that in the registration form, add this code snippet to your site: https://pastecode.io/s/qz1dxk3g
I tested by adding the code locally in my browser and I believe that works as expected: https://www.loom.com/share/a2219b97763047ab9d911cf191a7922f?sid=a71bb276-620b-4872-a917-537b9ef85479
Please note that you should enable the Country field for all dropdown options (it's currently disabled for Handwerk / Sonstige). To do this, edit it in B2BKing -> Registration fields and choose all roles.
Regarding setting a similar script at checkout, I would need at least a B2B customer login on your site so that I can access the checkout page, can you please provide that?
Kind regards,
Stefan