Linux 软件免费装
Banner图

Vietnam Store Toolkit for WooCommerce

开发者 yoohw
baonguyen0310
更新时间 2026年7月5日 14:11
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce checkout vat invoice vietnam vietqr

下载

1.0.2 1.0.0 1.0.1

详情介绍:

Vietnam Store Toolkit for WooCommerce helps WooCommerce stores sell in Vietnam with checkout fields, address data, VAT invoice requests, VietQR bank transfer details, phone number normalization, and admin shipping tools built for Vietnamese commerce workflows. WooCommerce is flexible, but its default checkout and bank transfer experience is not optimized for Vietnam. This plugin keeps WooCommerce's core order and customer data model intact while making the customer checkout, store settings, admin order screen, and Direct bank transfer flow more practical for Vietnam-based stores. Built for WooCommerce stores in Vietnam Use Vietnam Store Toolkit for WooCommerce when you need: Core features Vietnam address fields for WooCommerce The plugin replaces free-text Vietnam address fields with structured WooCommerce address fields. For Vietnam addresses: Because the plugin uses WooCommerce's existing address fields, orders, customers, shipping rates, taxes, admin screens, exports, and integrations can keep using the WooCommerce data model they already understand. Address data Vietnam administrative unit data is bundled with the plugin for speed and reliability. The bundled data uses the 2026-07 two-level Vietnam administrative structure: Province codes are stored as two-character strings, such as 01. Ward/commune/special-zone codes are stored as five-character strings, such as 00070. Keeping these values as strings preserves leading zeroes and avoids duplicate-name ambiguity. Admin address support Vietnam Store Toolkit for WooCommerce also improves address handling inside wp-admin: VAT invoice requests The plugin can collect Vietnam VAT invoice requests during checkout. This feature is available when WooCommerce taxes are enabled and the setting is turned on in WooCommerce tax settings. When customers request a VAT invoice, the checkout can collect: The tax code field accepts the common Vietnam tax code format: 10 digits, optionally followed by a hyphen and 3 digits. Invoice request data is saved to the order, displayed in a dedicated admin order metabox, and included in the New Order email sent to store admins. It is not added to customer-facing emails by default. VietQR bank transfer for WooCommerce Vietnam Store Toolkit for WooCommerce enhances the built-in WooCommerce Direct bank transfer payment method (bacs) instead of creating a separate gateway. Store owners can configure bank accounts in the existing WooCommerce Direct bank transfer settings. For Vietnam bank accounts, the plugin adds a bank selector and stores the VietQR/NAPAS bank BIN needed to generate VietQR payment images. For eligible bank transfer orders, the plugin can display: The transfer content template supports placeholders: The default template is ORDER-{order_number}. VietQR details can appear on: The plugin generates payment QR information only. It does not process payments, confirm bank transfers, connect to bank transaction APIs, or automatically mark orders as paid. Vietnamese phone number normalization The plugin accepts common Vietnam phone number formats and normalizes valid numbers for billing and shipping phone fields. Examples: Valid Vietnamese mobile and landline numbers are saved in national format, such as 0987654321. The plugin also stores useful metadata for orders and customers: Order search is extended to include the normalized phone metadata. Vietnam shipping tools Vietnam Store Toolkit for WooCommerce includes a shipping provider framework for internal connectors, private plugins, or SaaS integrations. The framework provides: The public WordPress.org plugin does not bundle GHTK, Viettel Post, or another carrier API integration. Carrier-specific logic should be provided by a separate connector. Migration tools for Le Van Toan plugins For stores moving from Le Van Toan Vietnam checkout or GHTK plugins, Vietnam Store Toolkit for WooCommerce adds tools under WooCommerce Status Tools. The tools can: The plugin also shows migration guard warnings when known legacy plugins are active and may conflict with Vietnam checkout address fields. Data sources Vietnam administrative unit data is bundled with the plugin. The bundled file includes source metadata and is based on data from the National Statistics Office of Viet Nam through Vietnam Provinces API v2. VietQR bank data is bundled from the VietQR bank list API so WooCommerce Direct bank transfer settings can show a bank selector and store the correct VietQR/NAPAS BIN. The bundled datasets contain factual public identifiers and names only, such as administrative unit codes, administrative unit names, bank names, bank short names, and VietQR/NAPAS BIN values. They are static reference data and are not tracking pixels or runtime API clients. External services The Vietnam administrative unit and VietQR bank list API URLs referenced in data/SOURCES.md are build-time data sources for bundled static data files. The plugin does not call those data source APIs at runtime. When VietQR display is enabled for WooCommerce Direct bank transfer, the plugin uses the VietQR QR image service to generate payment QR images for bank transfer orders. The service is contacted by the shopper's browser, the store admin's browser, or the email client when a page or email containing the QR image is displayed. Service provider: VietQR.io by CASSO. Service website: https://vietqr.io/ Quick Link documentation: https://vietqr.io/danh-sach-api/link-tao-ma-nhanh/ CASSO terms: https://casso.vn/thoa-thuan-su-dung-phan-mem/ CASSO privacy policy: https://casso.vn/chinh-sach-bao-mat-thong-tin/ Data sent to the service can include the receiving bank BIN, bank account number, QR template, order amount, transfer content, and account holder name. These values are placed in the QR image URL only when VietQR display is enabled and a bank transfer order has enough configured bank account data to show a QR code. The plugin does not use VietQR to process payments, confirm payments, store customer card data, or move money. Privacy Vietnam Store Toolkit for WooCommerce stores checkout, address, phone, tax invoice, and shipment metadata in the site's own WordPress/WooCommerce database. The plugin does not add analytics tracking, advertising pixels, or a remote telemetry service. If VietQR display is enabled, QR images are loaded from the VietQR image service as described in the External services section. Store owners should mention this in their privacy policy if they display VietQR payment QR images to customers.

安装:

  1. Make sure WooCommerce is installed and active.
  2. Install Vietnam Store Toolkit for WooCommerce from the WordPress Plugins screen, or upload the plugin files to /wp-content/plugins/yoohw-vietnam-store-tools.
  3. Activate the plugin.
  4. Review WooCommerce selling locations and store address settings.
  5. Configure WooCommerce Direct bank transfer if you want to use VietQR.
  6. Enable Vietnam VAT invoice requests in WooCommerce tax settings if your store needs invoice request fields.
  7. If you are migrating from Le Van Toan plugins, run the scan tool before syncing legacy data.

常见问题:

Is this a WooCommerce Vietnam checkout plugin?

Yes. The plugin adapts WooCommerce checkout, My Account address forms, cart shipping calculator, customer profiles, store address settings, and admin order address editing for Vietnam address data.

How does the plugin store Vietnam addresses?

It stores the city/province code in WooCommerce state and the ward/commune/special-zone code in WooCommerce city. This keeps WooCommerce compatibility while avoiding ambiguous text-only address values.

Does it support the 2026 Vietnam administrative unit structure?

Yes. The bundled address data uses the 2026-07 two-level Vietnam structure with 34 provinces/cities and 3,321 wards/communes/special zones.

Does this plugin add a new payment gateway?

No. VietQR is added to WooCommerce Direct bank transfer. Customers still choose the built-in bank transfer payment method.

Does VietQR automatically confirm payments?

No. The plugin displays payment QR information. It does not connect to bank transaction APIs or automatically mark orders as paid.

Can VietQR include the order amount?

Yes, when amount inclusion is enabled and the order currency is VND. For non-VND orders, the QR can still show transfer information without an embedded amount.

Where do I configure the VietQR bank account?

Go to WooCommerce payment settings and edit Direct bank transfer. The plugin enhances the existing bank account settings with Vietnam bank and VietQR options.

Can customers request VAT invoices at checkout?

Yes. Enable WooCommerce taxes, then enable Vietnam tax invoice requests in WooCommerce tax settings. Customers can request an invoice and enter company details during checkout.

What Vietnam tax code format is accepted?

The plugin accepts 10 digits, optionally followed by a hyphen and 3 digits, such as 0312345678 or 0312345678-001.

Does phone normalization change old orders automatically?

No. New and edited order/customer phone data is normalized when saved. Existing phone data is not backfilled automatically.

Does the plugin support HPOS?

Yes. The plugin declares compatibility with WooCommerce High-Performance Order Storage.

Does the public plugin include GHTK or Viettel Post integration?

No. The public plugin includes the shared shipping framework and admin order tools. Carrier-specific integrations should be provided by a separate private, internal, or SaaS connector.

Can I migrate from Le Van Toan plugins?

Yes. The plugin includes WooCommerce Status Tools that can scan and sync safely mappable legacy address rows and GHTK shipment metadata. Run the scan tool first and review the report before syncing.

Does the plugin call external APIs during checkout?

Address data and bank list data are bundled. The only runtime external service is the VietQR image service when VietQR display is enabled and a QR image is shown.

Does the plugin include Vietnamese translations?

Yes. The plugin includes Vietnamese translation files for labels, validation messages, admin UI text, and administrative unit names.

更新日志:

1.0.2 1.0.1 1.0.0