Hello, there is the configuration of the fields on the customer's billing information for Italian invoices. Unique Code, PEC, Tax Code, VAT number?
Thanks
Italy billing fields
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Italy billing fields
Hi, you can add own form fileds, as default, there are two columns for VAT.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 19
- Joined: 31 Jul 2019, 20:28
Re: Italy billing fields
GREAT!
Is it possible to put checks in the field? es. Tax code must be alphanumeric, min 16 characters, max 16 characters?
Thanks
Is it possible to put checks in the field? es. Tax code must be alphanumeric, min 16 characters, max 16 characters?
Thanks
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Italy billing fields
Hi, you can add validate rules, but it is not so easy. In Joomla! you can build own validate rules, for Phoca Cart it means, that such rule will be stored in this folder:
components/com_phocacart/models/rules
(you can find basic Joomla! validate rules here: libraries\src\Form\Rule\)
As example, basic Joomla! email rule:
It will be set as value in form fields form (in Phoca Cart):
and then the field is checked for email:
Jan
components/com_phocacart/models/rules
(you can find basic Joomla! validate rules here: libraries\src\Form\Rule\)
As example, basic Joomla! email rule:
It will be set as value in form fields form (in Phoca Cart):
and then the field is checked for email:
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Italy billing fields
See: https://www.phoca.cz/documents/116-phoc ... and-tricks - chapter: Setting custom rules for form fields
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 06 May 2023, 08:14
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: