WooCommerce欧盟增值税和B2B(WCEV)无缝集成了一个额外的欧盟增值税号字段到您的WooCommerce平台。它将在 结帐流程 仅当所选账单国家/地区是欧盟的一部分时。该插件还提供了其他几个选项,例如验证字段的方法,如果输入了有效的增值税号,则将其设为必填字段或删除税款。(可选)您将注册过程设置为仅对具有有效增值税号的企业 (B2B) 可用!
现场演示
https://www.codecanyondemo.work/wcev/wp-admin
(Shop 管理员帐户)
用户:demo
通行证:演示
(客户账户)
用户:demo2
通行证:演示
文档
如何自动更新插件
要接收自动更新,只需安装并配置 Envato 更新程序插件: https://goo.gl/pkJS33 .说明如何配置它的官方指南可以在以下链接中找到:https://envato.com/market-plugin .
理念
WCEV 扩展了 WooCommerce,添加了一个欧盟增值税号字段,该字段将在结帐过程中动态显示,并且仅当所选账单国家/地区是欧盟的一部分时,才会添加用户个人资料页面(账单地址)。Shop Admin 也可以将其设为强制性和选择性
验证它(插件使用 视觉障碍 函数,或者只是检查它是否具有有效的格式)。它还允许您不向输入 Vat 号的用户收费。
配置
通过访问 WooCommerce -> 欧盟增值税字段 – 选项 您可以配置 Plugin 选项。例如,您可以禁用必填 选项或显示需要发票 客户的声音
可以请求发票。此外,启用此选项后,您还可以使该字段仅在用户请求发票时可见。
增值税验证
增值税号可以使用 视觉障碍 功能。如果验证失败,插件将不允许完成结帐,并且
将显示验证警告消息(可使用文本 菜单)。
也可以通过检查增值税号是否具有有效格式来执行验证。
不要用无用的签出字段来打扰您的用户!
为什么要要求您的客户 公司名称 和增值税 如果他们只是消费者?WCEV 让您不打扰他们!
使用以下选项:
- 索取发票:仅在用户请求发票时显示 Vat 字段。
- 消费者/企业选择器 以动态显示公司名称 和增值税 字段。
免税
WCEV 插件还允许您不对插入增值税号的用户收取增值税。免税可以应用于具有增值税号的所有用户(甚至可以选择适用于与商店基地位置具有相同账单国家/地区的用户:WooCommerce -> 设置 -> 常规 -> 基地位置)。
税费减免将影响 Shop、Product、Cart 和 Checkout 页面。在“结账”中输入有效的增值税号后,将显示“我的账户 – >账单地址”或“注册”页面、商品价格和总计,并无税计费。
如果您选择显示 Vat 字段,即使对于非欧盟用户,您最终还可以启用选项,以便为输入增值税号的非欧盟用户删除税费。但请注意, 无验证 将对这些增值税号执行。
企业对企业 (B2B) 变得简单!
商店管理员还可以根据需要设置 Billing company name 字段!因此,可以选择将此选项与 VIES 增值税验证方法和启用的“税务删除”选项结合使用,商店管理员可以轻松地进行企业对企业 (b2b) 销售。
新增功能: 新的注册页面 – 只有企业可以注册 选项现在将只允许有效的企业在您的商店中注册!输入的增值税税号将根据所选的验证选项和所选的账单国家/地区进行验证
如果无效,用户将无法注册!
增值税号唯一性检查
(可选)该插件可以执行唯一性检查,以避免不同的用户使用相同的增值税号。
意大利特殊领域
如果选择意大利作为账单国家/地区,则将显示 Codice fiscale 和 SDI/Pec 字段。它还将对其格式执行验证。
西班牙特殊字段
如果选择西班牙作为账单国家/地区,则将显示 NIF / NIE /CIF 字段。它还将对其格式执行验证。
希腊特殊领域
如果选择西班牙作为账单国家/地区,则在选择企业类型时,将显示“税务局”和“企业活动”字段。
标签和文本(WPML 可本地化)
字段标签、占位符和验证错误消息可以使用 发短信 菜单。为WMPL 用户,只需使用 WPML 语言选择器切换当前语言,然后输入当前语言的文本,即可对文本进行本地化。
前端集成
WCEV 将欧盟增值税字段无缝集成到 Checkout (结帐)、My Account (我的账户) 和 Order (订单) 详细信息页面以及 Order (订单) 电子邮件中。无需配置!
后端集成
WCEV 在后端无缝集成了欧盟增值税字段。商店管理员可以检索增值税号信息,如果用户请求了发票,则可以从 订单详细信息 和 订单 列表页面检索增值税号信息:
支持意大利 “Fatturazione Elettronica”
在意大利国家/地区选择的情况下,插件还会显示 SDI/Pec 字段,允许客户输入其 SDI 代码/Pec 地址。商店管理员可以自定义显示的标签、描述和验证消息!
验证说明: 该插件将仅检查电子邮件的格式是否正确,或者 SDI 代码是否为 7 个字符长的字母数字代码。
您是WooCommerce PDF发票和装箱单的用户吗?
如果您使用的是 WooCommerce PDF发票和装箱单由wp隔夜提供 插件生成发票,并且你想报告用户与订单关联的增值税号,只需修改你正在使用的模板(通常是 templates/Simple/invoice.php)
并使用以下代码段:
< ?php global $wcev_order_model; $vat_number = $wcev_order_model->get_vat_number($order_id); ? >
检索增值税号。$order_id 变量是要检索字段的订单的 ID。要显示它,只需使用以下代码段
echo $vat_number;
您是WooCommerce打印发票和装箱单的用户吗?
如果您使用的是 WooCommerce由SkyVerge打印发票和装箱单 插件生成发票,并且您想报告与订单关联的用户增值税号,只需修改要显示它的模板部分(模板位于:templates/pip)
并使用以下代码段:
< ?php global $wcev_order_model; $vat_number = $wcev_order_model->get_vat_number($this->order_number()); ? >
检索增值税号。$order_id 是您要检索字段的订单的 ID。
例如,如果要在 User details (用户详细信息) 中显示它,请编辑 templates/pip/content/order-table-after.php 文件。在第 98 行,您将找到一个名为 Customer Details 的部分。在 ul 中(第 91 行之后),您可以添加如下内容:
< ?php global $wcev_order_model; $vat_number = $wcev_order_model->get_vat_number($this->order_number()); ? > <li class=""><?php echo '<strong>Vat Number</strong> '. $vat_number ; ?></li>
自定义结帐表单通知
该插件旨在与默认结帐表单和结帐页面模板 ([woocommerce_checkout]) 一起使用。使用任何插件、使用自定义结账模板(例如,某些主题可能正在实施多步骤结账)或自定义外观(外观 -> 自定义 -> WooCommerce)添加或删除字段都可能导致插件无法正常工作。
屏幕截图
前端集成 – Checkout
前端集成 – 账单详细信息页面(启用“请求发票”选项)
前端集成 – 订单详细信息页面
电子邮件集成
后端集成 – 订单详细信息页面
后端集成 – 订单列表页
用户配置文件页面 (Admin)
更改日志
= 13.1 - 01.11.24 = * Improved stability = 13.0 - 28.10.24 = * Added the option to force the display of the "Request invoice" even for consumer (the admin can send a receipt instead of an invoice) = 12.9 - 03.07.24 = * Minor improvements = 12.8 - 02.07.24 = * Internal library update = 12.7 - 03.05.24 = * Internal library update * Improved VIES validation function = 12.6 - 08.01.24 = * Added option to set the NIF/NIE field as mandatory = 12.5 - 20.11.23 = * Improved field display management on checkout = 12.4 - 10.10.23 = * Improved admin order save data management = 12.3 - 22.09.23 = * Minor js improvement = 12.2 - 18.09.23 = * Fixed an issue related to the order creation = 12.1 - 04.09.23 = * Fixed an issue with YITH Request a quote plugin = 12.0 - 27.07.23 = * Added compatibility with HPOS = 11.9 - 25.09.22 = * Minor bugfix = 11.8 - 18.03.22 = * Fixed an issue related to the WooCommerce Multiple Customer Addresses & Shipping = 11.7 - 17.03.22 = * Minor improvement = 11.6 - 03.02.22 = * Fixed an issue that might raise using the plugin in conjunction with the WooCommerce Multiple Customer Addresses plugins = 11.5 - 27.10.21 = * Fixed an issue with the countries list retrieval = 11.4 - 26.10.21 = * Added CIF field for Spain * Improved validation for NIF / NIE / CIF field = 11.3 - 17.10.21 = * Added option to remove taxes for the non-eu users who enter a generic vat number (it won't be validated) = 11.2 - 11.10.21 = * Minor update = 11.1 - 19.07.21 = * Code reorganization = 11.0 - 13.04.21 = * Fixed an issue where in some scenarios, the Vat field was displayed even for non-EU countries = 10.9 - 19.02.21 = * If the option to show always the vat field is enabled, taxes won't be removed anymore for extra EU countries in case a vat number is entered = 10.8 - 16.01.21 = * Minor CSS improvements = 10.7 - 16.01.21 = * Fixed an issue related to the company name mandatory check process * Improved the mandatory management = 10.6 - 04.01.21 = * Fixed an issue due to the field was not properly editable on the checkout page = 10.5 - 12.10.20 = * Fixed an issue related to the dynamic display of extra countries fields function = 10.4 - 30.09.20 = * Fixed an incompatibility with Avada = 10.3 - 16.09.20 = * Added a new option to show a text before the product list in case the price are hidden = 10.2 - 01.07.20 = * Added "Company ID" field for the Czech Republic = 10.1 - 30.06.20 = * Added "Company ID" field for Slovakia = 10.0 - 16.06.20 = * Minor improvements = 9.9 - 27.04.20 = * Added option to disable the codice fiscale format validation = 9.8 - 24.10.20 = * Fixed an issue related to WooCommerce installation older than 4.0 = 9.7 - 17.10.20 = * Fixed an issue related to the Codice Fiscale email embedding = 9.6 - 17.10.20 = * Codice Fiscale (if any) is now reported in the email = 9.5 - 10.04.20 = * Fixed an issue related to WC4.0 compatibility = 9.4 - 24.02.20 = * Fixed a minor issue related to the Text and Options menus = 9.3 - 24.02.20 = * Codice fiscale field now accepts 11-digit codes = 9.2 - 24.02.20 = * Fixed an issue related to the NIF / NIE field = 9.1 - 23.02.20 = * Fixed an issue related to the "request invoice" option = 9.0 - 11.02.20 = * Fixed an issue related to the mandatory company name option = 8.9 - 22.01.20 = * Added new option for B2B registration: is now possible to show the state field = 8.8 - 21.01.20 = * Fixed an issue due to the Company name was not properly saved during registration = 8.7 - 16.01.20 = * Fixed an issue related to the Spain NIF/ NIE field validation process = 8.6 - 23.12.19 = * Fixed an issue due to Greece's "Tax office" and "Business activity" fields were not displayed on the admin area = 8.5 - 23.12.19 = * Added "Tax office" and "Business activity" fields for Greece businesses = 8.4 - 19.12.19 = * Fixed an issue that prevented data to be properly saved in the My Account -> Addresses pages = 8.3 - 19.12.19 = * Fixed an issue that prevented data to be properly saved in the My Account -> Addresses pages = 8.2 - 15.12.19 = * Minor improvement on the admin user page = 8.1 - 28.11.19 = * Added NIF / NIE field for Spain = 8.0 - 27.11.19 = * Codice fiscale field is now always shown if Italy is selected as the billing country = 7.9 - 25.11.19 = * Fixed an issue due to the Codice Fiscale and SDI/Pec fields were not displayed on the customer admin page = 7.8 - 25.11.19 = * Codice fiscale field can be set as mandatory = 7.7 - 13.11.19 = * Improved field validation check = 7.6 - 11.11.19 = * Fixed SDI/Pec text typos = 7.5 - 30.10.19 = * Minor improvement to the Texts menu = 7.4 - 16.10.19 = * Business selector (if shown) is now mandatory = 7.3 - 15.10.19 = * Added option to disable the codice fiscale field = 7.2 - 01.10.19 = * Added codice fiscale field for Italy billing country = 7.1 - 19.09.19 = * On the registration page (B2B) vat, country, and company fields won't be reset in case of a validation error = 7.0 - 18.09.19 = * Fixed an issue related to the SDI/Pec mandatory field = 6.9 - 12.09.19 = * Taxes removal option: in case the Vat field is shown even for not EU billing countries, the tax will be removed for those countries if any vat number is entered = 6.8 - 29.05.19 = * Fixed some issues related to the My Account -> Addresses -> Billing Address form = 6.7 - 21.05.19 = * Added option to make SDI/Pec field mandatory (only for Italy) = 6.6 - 03.05.19 = * Typo related to the SDI field description = 6.5 - 02.05.19 = * B2B registration form: the plugin now preselects the current user country (using the WooCommerce geolocator feature) = 6.4 - 11.04.19 = * Minor bugfix = 6.3 - 12.03.19 = * Minor bugfix = 6.2 - 11.03.19 = * Typo = 6.1 - 09.03.19 = * Added support to Italy Fatturazione Elettronica SDI/pec field = 6.0 - 26.01.19 = * Fixed an issue with Belgium vat format validation = 5.9 - 24.01.19 = * Fixed a packaging error = 5.8 - 24.01.19 = * Fixed an issue due to the Company name not showed = 5.7 - 20.12.18 = * Minor bugfix = 5.6 - 10.12.18 = * Fixed an issue that may prevent the product to be saved = 5.5 - 07.12.18 = * Minor bugfix related to WP 5.0 = 5.4 - 13.11.18 = * Bug fix related to the activation system = 5.3 - 06.11.18 = * Fixed an issue due to a warning message about a "priority" value shown in the checkout page = 5.2 - 08.10.18 = * Added new activation system: now the plugin can be only activated in two domains and they cannot be unregistered = 5.1 - 06.09.18 = * Minor bugfix = 5.0 - 13.07.18 = * Fixed an issue due to in some cases the customer's EU Vat number was not properly retrieved = 4.9 - 12.07.18 = * Minor bugfix = 4.8 - 02.06.18 = * Fixed an issue due to the VAT number was not properly validated according to the billing country = 4.7 - 08.05.18 = * Fixed an issue due to product prices were never displayed = 4.6 - 02.05.18 = * Minor bugfix = 4.5 - 01.05.18 = * B2B: added option to hide prices and add to cart buttons for not registered users and show instead a message * Added option to check if entered Vat number has already been used = 4.4 - 26.04.18 = * Added "Only business can register" option: On the WooCommerce register page only businesses with a Vat number can register = 4.3 - 23.04.18 = * Minor bugfix related to the "I need an invoice" checkbox = 4.2 - 23.04.18 = * Added option to disable Vies validation for local business * Fixed an issue that prevented to load Vat number on the admin order details page when loading user billing details = 4.1 - 03.04.18 = * Minor JS bugfix = 4.0 - 14.03.18 = * Required invoice label is no longer shown on the order details page if the relative option is not enabled = 3.9 - 02.02.18 = * Added option to disable Vat Field edit after the user entered a valid Vat Number = 3.8 - 26.01.18 = * Fixed an issue due to the "required invoice" checkbox sometimes was not properly shown on the checkout page = 3.7 - 22.01.18 = * Added option to show the "Vat reverse charge" text on Cart and Checkout pages if taxes are removed. Text can be customized = 3.6 - 17.01.18 = * Selecting a new country will no longer reset the "I need invoice" checkbox = 3.5 - 20.10.17 = * Fixed an issue due to Company name being requested even if the customer type was selected = 3.4 - 19.10.17 = * Fixed an issue that may prevent the proper validation of Spain Vat numbers = 3.3 - 10.10.17 = * Minor bugfix = 3.2 - 06.10.17 = * Added option to disable EU Vat field only for the selected EU Countries = 3.1 - 14.09.17 = * Fixed an issue that prevented to proper load the tax setting on WooCommerce -> Settings -> Tax tab = 3.0 - 06.09.17 = * Added option to show EU Vat field for any selected billing country = 2.9 - 30.08.17 = * On the checkout page, when taxes are removed they are also removed from the cart subtotal usually shown on the top-right of the page (this requires that the theme properly implements the cart fragment) * Fixed an issue that in some cases prevented Billing details to be saved when editing them using the My Account -> Billing address page = 2.8 - 03.08.17 = * Minor bugfix = 2.7 - 22.07.17 = * Fixed an issue due to the "Business" option (within the Business type selector) text was not customizable = 2.6 - 16.06.17 = * Added option to show Billing Company field (and make it mandatory) only when the "I need an invoice" option has been selected = 2.5 - 02.06.17 = * Fixed an issue that forced the user to enter the Vat number even if the field was hidden = 2.4 - 26.05.17 = * Minor bugfixes = 2.3 - 12.05.17 = * Improved Tax removal function = 2.2 - 10.05.17 = * Taxes are properly shown/hidden when switching from customer/business using the special selector * Some UI improvements = 2.1 - 06.05.17 = * Fixed an issue with the new Business/Consumer selector feature = 2.0 - 04.05.17 = * Added option to display the Company name and EU Vat field only if the user identifies himself as business = 1.9 - 22.04.17 = * Improved tax exemption management = 1.8 - 10.04.17 = * Fixed other WooCommerce 2.6 backward incompatibility issues = 1.7 - 05/04/17 = * Fixed a minor issue with WooCommerce 3.0 = 1.6 - 13/03/17 = * Fixed a minor issue on a javascript library used in the Admin order edit page = 1.5 - 08/03/17 = * Vat number is now recognized even if they have the country code prefix * Fixed an issue with Dynamic string translation (WPML) = 1.4 - 05/03/17 = * On manually loading billing user info on the Order details page, now Vat data is properly loaded * Added support for WooCommerce Multiple Addresses ( httpss://codecanyon.net/item/woocommerce-multiple-customer-addresses/16127030 ) = 1.3 - 23/02/17 = * Added option to make Billing company field as required = 1.2 - 22/02/17 = * Added method to simply validate Vat number format = 1.1 - 17/02/17 = * Minor bugfix = 1.0 - 15/02/17 = * Release