Directory / plugin

Bloqcode Chile – RUT and Checkout Validation

v1.0.0 · by Andrés Vilches Cortés

Native RUT field injection, Module 11 validation, and clean formatting for WooCommerce checkout in Chile.

View on WordPress.org

About this plugin

Bloqcode Chile – RUT and Checkout Validation adapts the native WooCommerce checkout process to comply with standard customer identification requirements in Chile.

Important Compatibility Note

⚠️ This plugin is designed to work with the Classic WooCommerce Checkout (using the [woocommerce_checkout] shortcode).

If your store is using the newer WooCommerce Checkout Block, you will need to replace that block on your Checkout page with a Shortcode block containing:
[woocommerce_checkout]

The plugin provides server-side and client-side validation to ensure checkout data structure correctness before payment processing. It formats the required metadata fields and organizes administrative information.

Features

  • Field Injection: Inserts the RUT input field natively underneath customer first and last name fields within the billing section.
  • Mathematical Validation: Runs validation queries based on the standard Modulus 11 algorithm on both frontend and backend handlers.
  • Automated Formatting: Formats characters during user interaction to present standard punctuation patterns (e.g., 12.345.678-9).
  • Order Metadata Panel: Appends stored billing RUT and custom delivery reference parameters directly inside the internal WooCommerce order edit screen.
  • Email Layout Structuring: Restructures notification templates (customer and administrator copies) into separate Billing and Shipping data containers.
  • Core Standards: Built strictly following WordPress API enqueuing requirements and WooCommerce filters.

Plugin tags