Page 1 of 1
Italy billing fields
Posted: 25 Apr 2020, 06:18
by supportotecinf
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
Re: Italy billing fields
Posted: 25 Apr 2020, 13:24
by Jan
Hi, you can add own form fileds, as default, there are two columns for VAT.
Jan
Re: Italy billing fields
Posted: 25 Apr 2020, 15:07
by supportotecinf
GREAT!
Is it possible to put checks in the field? es. Tax code must be alphanumeric, min 16 characters, max 16 characters?
Thanks
Re: Italy billing fields
Posted: 30 Apr 2020, 16:56
by Jan
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
Re: Italy billing fields
Posted: 19 May 2020, 15:11
by Jan
Re: Italy billing fields
Posted: 19 May 2023, 07:30
by Aliya77
Jan wrote: ↑25 Apr 2020, 13:24
Hi
, you can add own form fileds, as default, there are two columns for VAT.
Jan
Hi,
it's great to know that I can customize form fields. Since there are already two columns for VAT as the default, I might not need to add any additional fields. Thanks!
Re: Italy billing fields
Posted: 22 May 2023, 13:55
by Jan
Ok