• Home
  • Services
    • Col 1
      • Tech & Analytics
      • Web Development
      • Technical Audit
      • Analytics & Tracking
    • Col 2
      • Growth Marketing
      • SEO Strategy
      • SEM & PPC
      • Social Growth
    • Col 3
      • AI & Strategy
      • Al Search (GEO)
      • SEO Content
      • Growth Consulting
    • Col 4
      • Operations & CRO
      • Conversion (CRO)
      • AI Automation
      • Full-stack Ops
  • Projects
    • Strategies
    • Plugins
    • Extensions
    • Creatives
  • Insights
  • About
  • Contact
  • Chinese
    • English
FREE ANALYSIS
  • Home
  • Services
    • Col 1
      • Tech & Analytics
      • Web Development
      • Technical Audit
      • Analytics & Tracking
    • Col 2
      • Growth Marketing
      • SEO Strategy
      • SEM & PPC
      • Social Growth
    • Col 3
      • AI & Strategy
      • Al Search (GEO)
      • SEO Content
      • Growth Consulting
    • Col 4
      • Operations & CRO
      • Conversion (CRO)
      • AI Automation
      • Full-stack Ops
  • Projects
    • Strategies
    • Plugins
    • Extensions
    • Creatives
  • Insights
  • About
  • Contact
  • Chinese
    • English
FREE ANALYSIS
  • Home
  • Services
    • Col 1
      • Tech & Analytics
      • Web Development
      • Technical Audit
      • Analytics & Tracking
    • Col 2
      • Growth Marketing
      • SEO Strategy
      • SEM & PPC
      • Social Growth
    • Col 3
      • AI & Strategy
      • Al Search (GEO)
      • SEO Content
      • Growth Consulting
    • Col 4
      • Operations & CRO
      • Conversion (CRO)
      • AI Automation
      • Full-stack Ops
  • Projects
    • Strategies
    • Plugins
    • Extensions
    • Creatives
  • Insights
  • About
  • Contact
  • Chinese
    • English

Mr. J Dev Dynamic Checkout Fields

  • Home
  • Trends
  • Mr. J Dev Dynamic Checkout Fields
Mr. J Dev Dynamic Checkout Fields
  • 2026-05-18
  • by LethaldiranMX
  • Trends
  • 0 Comments
Developer Mr. J
Version v1.0.0
Active Installs 0 +
Requires / Tested 5.8 / 6.9.4
Last Updated 2026-05-17 9:35pm GMT
Official Link View Details →
Add custom fields to the WooCommerce checkout based on cart contents, value, or country. Saves data to order meta and displays it in the admin.

Mr. J Dev Dynamic Checkout Fields lets store owners add fully configurable custom fields to the WooCommerce checkout page. Fields can be shown conditionally based on cart total, shipping country, or product presence — all managed via a clean split-panel admin UI without writing any code.

Field Types:

  • Text — single-line text input
  • Textarea — multi-line text area (4 rows, resizable)
  • Dropdown — select from a list of predefined options (you define one option per line)
  • Checkbox — a simple yes/no toggle

Conditional Display (show field only when):

  • Always — field is always visible at checkout
  • Cart total is greater than ₹X — e.g. show a “Gift wrapping note” field only for orders above ₹500
  • Shipping country equals — show field only for specific countries (2-letter ISO code, e.g. IN, US, GB)
  • Product ID is in cart — show a field only when a specific product is being purchased

Note: Conditions apply to the classic shortcode checkout only. In the block checkout, all registered fields are always shown.

Validation:

  • Mark any field as required — WooCommerce will block checkout if left empty
  • Optional regex pattern — e.g. ^[0-9]{10}$ to enforce a 10-digit phone format
  • Regex is applied to Text fields only; Checkbox and Dropdown use WooCommerce’s built-in validation

Checkout Compatibility:

  • Classic Checkout (shortcode [woocommerce_checkout]) — full support including conditions
  • Block Checkout (WooCommerce 8.9+) — fields registered via the Additional Checkout Fields API and appear in the “Order” section of the block checkout automatically. Textarea type falls back to a single-line text field in block mode (the Block API has no native textarea type)

Data Handling:

  • Field values are saved as order meta on checkout submit
  • Displayed in the admin order detail page (below billing address)
  • Included in WooCommerce order emails — both HTML and plain-text formats

Admin UI (split-panel layout):

  • Left panel — lists all saved fields as cards with type badge, condition summary, and required indicator
  • Right panel — inline create / edit form; clicking a card loads it for editing
  • Fields are created, updated, and deleted without leaving the page
  • The form auto-shows/hides the Dropdown Options textarea and Condition Value input based on your selections

Usage

  1. Go to WooCommerce → Checkout Fields.
  2. Click Add New Field.
  3. Fill in:
    • Field ID — a unique slug (lowercase, underscores only), e.g. pan_number
    • Label — what customers see at checkout, e.g. “PAN Number”
    • Field Type — Text, Textarea, Dropdown, or Checkbox
    • Dropdown Options — one option per line (only shown when type is Dropdown)
    • Required — tick to block checkout if the field is left empty
    • Show When — the condition that must be true for the field to appear
    • Condition Value — the value for your condition (amount / country code / product ID)
    • Validation Regex — optional regex for Text and Textarea fields
  4. Click Save Field.

The field will appear on the checkout page whenever its condition is met. Submitted values are stored with the order and visible in the admin order screen and in all WooCommerce order emails.

Condition Examples

Gift message field for large orders:
* Type: Text | Show When: Cart total > | Value: 1000

PAN card field for Indian customers only:
* Type: Text | Show When: Shipping country = | Value: IN
* Validation Regex: ^[A-Z]{5}[0-9]{4}[A-Z]{1}$

Delivery preference for a specific product:
* Type: Dropdown | Show When: Product ID in cart | Value: 42
* Options: Morning Afternoon Evening

Simple gift wrap option:
* Type: Checkbox | Show When: Always | Required: No

Block Checkout Notes

To use with the WooCommerce Block Checkout:

  • WooCommerce 8.9 or newer is required
  • Fields are registered in the “Order” section of the block checkout
  • Conditional display is not supported in block mode — all your fields will always show
  • Field values are saved and displayed in orders automatically by WooCommerce
  • checkout,
  • conditional logic,
  • custom fields,
  • validation,
  • woocommerce,
  • wordpress plugin
Previous Post

Lumina-Flux Content Generator

Next Post

Desk9 AI Content Disclosure

Leave a Comment 取消回复

您的邮箱地址不会被公开。 必填项已用 * 标注

Categories

  • Thoughts (1)
  • Trends (1,242)
  • Tutorials (1)

Recent Posts

2026-10-14
Agrunert E-Rechnung for ZUGFeRD
2026-10-13
Rotascore Live Scores Widget
2026-10-12
Ettrick Escape Room Booking
2026-10-11
Qrlastica – QR Code Generator with
2026-10-10
Anchormender – Internal Link Suggestions, Orphan

归档

  • 2026 年 10 月
  • 2026 年 9 月
  • 2026 年 8 月
  • 2026 年 7 月
  • 2026 年 6 月
  • 2026 年 5 月
  • 2026 年 4 月

标签

accessibility admin AI analytics automation backup blocks booking calendar chat chatbot checkout contact form contact form 7 content customer support ecommerce elementor forms GDPR GEO gutenberg lead generation live chat llms.txt login openai optimization payment gateway performance popup privacy products rest-api Schema security SEO shipping shortcode support tracking whatsapp widget woocommerce wordpress plugin
  • shape1
  • shape2
  • shape3
  • shape4
  • shape5
  • shape6
  • shape7

Newsletter SignUp!

    About Us

    GROWTH,ARCHITECTED.
    Empowering global brands through data-driven SEO, high-performance web development, and AI-forward strategies.

    Information

    • Extensions
    • Strategies
    • Creatives
    • Plugins

    Services

    • AI & Strategy
    • Growth Marketing
    • Operations & CRO
    • Tech & Analytics

    Office Address

    • Nan'an District, Chongqing
    • +86-133-1028-2690
    • [email protected]
    • +86-133-1028-2690
    © Copyright AEOSUB 2026 | Digital Growth & Full-stack Operations
    • Home
    • About
    • Case Study
      • Case Study 1
      • Case Study 2
      • Case Study 3
      • Case Study 4
      • Case Study 5
    • Elements
      • Blog
        • Blog Post 1
        • Blog Post 2
        • Blog Post 3
        • Blog Post 4
        • Blog Post 5
        • Blog Post 6
      • Service
        • Service Gallery 1
        • Service Gallery 2
        • Service Gallery 3
        • Service Gallery
        • Service Gallery 5
      • Team
        • Team Gallery 1
        • Team Gallery 2
        • Team Gallery 3
      • Testimonial
        • Testimonial – 1
        • Testimonial – 2
        • Testimonial – 3
      • Contact Info Box
        • Contact Info Box 1
        • Contact Info Box 2
      • Info Box
        • Info Box 1
        • Info Box 2
        • Info Box 3
      • Miscellaneous
        • Brand Showcase
        • Counter 1
        • Progress Bar
        • Progress Box Image
        • Radius Button
        • Section Title Subtitle
      • Pricing
        • Pricing Plan 1
        • Pricing Plan 2
        • Pricing Plan 3
        • Pricing Plan 4
        • Pricing Plan 5
    • Pages
      • Service
        • Service Archive
      • Case Study
        • Case Study Archive
        • Single Case Study 1
        • Single Case Study 2
        • Single Case Study 3
      • Team
        • Team Gallery 1
        • Team Gallery 2
        • Team Gallery 3
      • Typography
      • 404 Error
    • Blog
      • Blog 1
      • Blog 2
      • Blog 3
    • Contact
    Follow Us
    FREE ANALYSIS
    • Home
    • Services
      • Col 1
        • Tech & Analytics
        • Web Development
        • Technical Audit
        • Analytics & Tracking
      • Col 2
        • Growth Marketing
        • SEO Strategy
        • SEM & PPC
        • Social Growth
      • Col 3
        • AI & Strategy
        • Al Search (GEO)
        • SEO Content
        • Growth Consulting
      • Col 4
        • Operations & CRO
        • Conversion (CRO)
        • AI Automation
        • Full-stack Ops
    • Projects
      • Strategies
      • Plugins
      • Extensions
      • Creatives
    • Insights
    • About
    • Contact
    • Chinese
      • English
    Follow Us