ThemeHigh
  • Plugins
  • Documentation
  • Support
  • Partners
  • Login
  • Getting Started
    • Overview...
    • Add/Edit Custom Fields
    • Set Display Rules
    • Set Repeat Rules
    • Price Fields & Types
    • User Meta Fields
    • Time Picker Settings
    • Why Your Checkout Fields Aren’...
    • Date Picker Settings
    • Display Custom Fields...
  • Advanced Settings
    • Include New Fields in Address Format?
    • Enable Address Autofill
    • Configure Locale Override Settings
    • Add Custom Fields to CSV Export
    • Display Custom Fields In PDF Invoices & Packing Slips
    • Zapier Support
    • Display Country & State Fields based on Conditional Rules
    • WPML Compatibility
    • Where do the Custom Fields get Saved or Displayed?
    • Backup & Import Settings
    • Enable Inline Validation...
    • WPML String Translations...
    • Custom Fields in WooCommerce Orders
    • Add a New Custom Validation Rule
    • Add a New Confirm Field Validator
    • Import/Export the Checkout Fields and Sections
  • For Developers
    • Hooks & References...
    • Display Rules: Use cases and mor...
    • Repeat Rules: More use cases and...
    • Based on Checkout Fields: Use ca...
    • Override HTML Content: Examples...
    • Compatibility with “WooCom...
  • Compatible Plugin & Themes
    • Plugins & Themes...
  • Frequently Asked Questions
    • Frequently Asked Questions...
  • How
    • How To Display Fields In Order D...
    • How To Customise The Shipping Se...
    • How To Add Custom Fields In The ...
    • How to Add Custom Price Fields o...
    • How To Add A New Section To The ...
    • How To Display Custom Fields In ...
    • How to Show/Hide Fields Based On...
    • How To Set Repeat Rules On The C...

Documentation/Checkout Field Editor for WooCommerce/How to Create Repeat Rules For WooCommerce Checkout Fields?

How to Create Repeat Rules For WooCommerce Checkout Fields?

Last updated on August 24, 2022

Repeat Rules are useful when you want to repeat a section or a field based on a certain property of the checkout page. The property value will be used to determine how many times the section or field should be repeated. The property value should resolve to a number.

You can repeat section & fields based on:

  • Product quantity
  • Cart count

General Instructions To Set Repeat Rules

This section will explain the common steps to set repeat rules.

To set repeat rules:

  1. Navigate to the WooCommerce → Checkout Form → Checkout Fields page.
  2. Open the field/section property form popup.
    • Click on the Add Field button to open the popup form if you are setting repeat rules for a new field.
    • Click on the Edit Field button to open the popup form if you are setting repeat rules for an existing field.
    • Click on the Add New Section button to open the popup form if you are setting repeat rules for a new section that you are creating.
    • Click on the Edit Section button to open the popup form if you are setting repeat rules for an existing section.
  3. Navigate to the Repeat Rules tab from the popup.
  4. From this tab, you can define repeat rules.
  5. Once the repeat rule is set, click on the Save & Close button to save the settings.

Screenshot_2021-03-04_at_6.54.52_PM.png


Repeat Rule Based On Cart Quantity

Repeat field or section N number of times, where N is the cart quantity.

cart_count_repeat_rule.png


Repeat Rule Based On Product Quantity

Repeat field or section N number of times, where N is the quantity of a particular product.

product_quantity.png


Advanced Settings

Note: Enable/Disable the below options based on your needs while setting up repeat rules for the default and custom sections.

advanced_settings.png

Start indexing from parent: Enable the option to start the index from the parent section.

Inherit Cart & User based display rules: By default, this feature is enabled. It applies the Cart & User based display rules of the parent section to all the repeated sections.

If the feature is not needed, disable this behavior by unchecking the checkbox.

Inherit Fields based display rules: It inherits the field-based display rules of the parent section to all the repeated sections. Enable or disable the feature based on your needs.

For example, a travel agency only needs to display the passport number textbox if the customer’s age is eighteen or above. Once the feature is enabled, it displays the passport textbox based on the field value and gets repeated in the required areas.

Adjust display rules based on fields in the same section: To set rules based on the fields of that particular section.

For example, a travel agency has three customers of different age groups. If one among them is below eighteen, he/she does not need to display a passport field. Here, the rules can be set based on the field value of each customer.


Get the plugin

On this page

  • General Instructions To Set Repeat Rules
  • Repeat Rule Based On Cart Quantity
  • Repeat Rule Based On Product Quantity
  • Advanced Settings

What's new

  • Added a custom file upload button property for the File upload field type.
  • Alert on selecting display position of sections as before/after terms and conditions.
  • Added Woocommerce 6.8.2 compatibility.

Highlights

  • 24 custom field types with file upload.
  • Create additional sections.
  • Display sections and Fields Conditionally.
  • Display custom fields at 14 different positions.
  • Create confirm field validators.
  • Price fields with a set of price types.
  • Repeat fields and sections based on specific conditions.
  • WPML Compatibility.
  • Import & Export fields and sections.

This article posted in Checkout Field Editor for WooCommerce, Getting Started, Pro Documentation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

ThemeHigh

We develop innovative WordPress plugins and themes for e-commerce and other WordPress websites.

Resources
  • Documentation
  • Support
  • Blog
  • Bestsellers
  • Affiliates
  • Partners
Policy Information
  • Terms & Conditions
  • Privacy Policy
  • Support Policy
  • Refunds Policy
  • Licenses
Security
Payment Options

© 2026 ThemeHigh. All rights reserved.

Terms and conditions, features, support, pricing, and service options subject to change without notice.