michielfb/magento2-vatid
Composer 安装命令:
composer require michielfb/magento2-vatid
包简介
Remove unwanted characters (. , - and spaces) from entered VAT-numbers and remove the country prefix if it matches the entered country of the address.
README 文档
README
Remove unwanted characters (. , - and spaces) from EU VAT-numbers and remove the country prefix if it matches the entered country of the address.
This is usefull since the VAT-number checker of Magento marks VAT-numbers with a country prefix as invalid.
Installation
Use composer to install this plug-in:
composer require michielfb/magento2-vatid
Example
On a address a VAT-number is entered as NL123456789B01 and selects the country Netherlands (NL). By default Magento will mark this as invalid.
When this plug-in is used the country prefix will be stripped from the VAT-number resulting in the VAT-number 123456789B01. Magento will mark this VAT-number as valid*.
* please note that the VAT-number is an example. VAT-numbers will only be marked as valid if they actually exists.
统计信息
- 总下载量: 77
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-24