| 开发者 | artprojectgroup |
|---|---|
| 更新时间 | 2026年5月13日 03:35 |
| 捐献地址: | 去捐款 |
| PHP版本: | 5.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GNU General Public License v3 or later |
| 版权网址: | 版权信息 |
apg_nif_display_error_message and apg_nif_error_message filters.apg_nif_add_fields filter.apg_nif_skip_validation filter.apg_nif_skip_required filter.wc-apg-nifcifnie-field folder to /wp-content/plugins/ directory via FTP.The plugin settings is very simple, you just must indicate if you want NIF/CIF/NIE field is validated or not.
If your store placed orders via Checkout Blocks before updating to 4.12.0, some orders may have duplicate billing_nif / shipping_nif rows in the database that prevent the field from updating correctly in the admin panel.
Option 1 – Settings page (recommended): Go to WooCommerce → NIF/CIF/NIE field. If duplicates are detected, a "Fix duplicate NIF metadata" button will appear at the bottom of the page. Click it to run the cleanup. The button disappears automatically once there are no more duplicates.
Option 2 – WP-CLI (large stores): Run the following command from the root of your WordPress installation to avoid HTTP timeouts:
wp eval-file wp-content/plugins/wc-apg-nifcifnie-field/includes/admin/limpieza-meta-duplicados.php
If you need help to configuring or installing WC - APG NIF/CIF/NIE field, Art Project Group offers its service Technical Support. In any case Art Project Group provides any kind of free technical support.
id, so WooCommerce was writing the admin-entered value to _billing_nif / _shipping_nif instead of billing_nif / shipping_nif. As a result, the display always showed the original checkout value unchanged.postmeta and wc_orders_meta (HPOS) regardless of the active storage mode. Previously the cleanup button could fail to appear on stores using HPOS sync mode or certain HPOS configurations.billing_nif / shipping_nif metadata rows generated when placing orders with Checkout Blocks, which caused the NIF field to appear unchanged after editing an order from the admin panel.[woocommerce_my_account] shortcode on stores using Checkout Blocks.billing_nif and shipping_nif first, with fallback to legacy meta keys.requerido_envio in classic checkout so the shipping NIF/CIF/NIE field is only required when the customer checks "Ship to a different address".apg_nif_skip_required filter to override the required status for billing or shipping via hook.Codice Fiscale validation.valida-bloques-nif.js.product_instance_caching.apg_nif_skip_validation filterapg_nif_add_fields filter.apg_nif_display_error_message and apg_nif_error_message.