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 Set Repeat Rules On The Checkout Page?

How To Set Repeat Rules On The Checkout Page?

Last updated on December 6, 2022

We consider WooCommerce a dynamic and flexible plugin for WordPress. However, it is bounded to a specific limit, and customizing the checkout page is among them. Have you ever considered repeating the custom fields or custom sections for the WooCommerce store? For these instances, we can apply Repeat Rules to meet these needs.

In this article, we showcase how to add repeat rules to the checkout form so that it becomes customizable. To set the repeat rules, you can use the “Checkout Field Editor for WooCommerce” plugin by “ThemeHigh”. 

 

What are Repeat Rules?

Repeat Rules are used when the user wants to repeat a particular field or section. For example, you can set up a particular field to be repeated for every quantity of the specific item in the cart. 

For instance, consider the case of a train, where the seats have to be booked. The repeat rules can be used when tickets or seats are sold.  Additionally, their personal information is to be entered per sold ticket. So in such cases, tickets can be repeated with varying information added. Similarly, you can repeat the field on the checkout page when the user needs to insert things such as multiple phone numbers and uploaders to upload various pdf, images, or other types of files.

 

How to add Repeat Rules on the Checkout Page?

Follow the below steps to set up and add the repeat rules on the checkout page. 

  1. Navigate to WooCommerce > Checkout Form
  2. Click “Add Field”/”Edit Button”.
  3. A “pop-up” opens.
  4. Fill in the details.
  5.  Proceed to the “Repeat Rules” tab.
  6. From the drop-down, select the “Repeat field for” option.
  7. The custom section or custom fields are repeated in two options:
    • Product quantity
    • Cart count
  8. From the second drop-down “Select the products”.
  9. Provide the Name Suffix and Label Suffix as “Number” (Choose alphabets for alphabetical suffices).
  10. Select the checkbox “Start indexing from the parent”. When enabled, the repeated fields or sections get numbered from the start onward. 
  11. Click “Save & Close”.

checkout_repeat_rule

Repeat Rules based on Product Quantity

  1. Direct to WooCommerce > Checkout Form
  2. Click the “Add Field”/”Edit Button”.
  3.  Proceed to the “Repeat Rules” tab.
  4. Select “Product Quantity” from the repeat field.
  5. From the drop-down “Select the products”.
  6. Select “Number” as Name Suffix and Label Suffix.   
  7. Select the checkbox “Start indexing from the parent”.
  8. Click “Save & Close”.

repeat_checkout_fields

The checkout page will reflect the repeat rules for showing the product quantity set as shown below. 

The product “Cap” is two in quantity in the cart. Therefore, the quantity of products in the cart will be repeated at checkout. The Delivery Date is the field that has to be repeated. Delivery Date and Delivery Date 2 are repeated fields. As the Start indexing from the parent is enabled, the first field automatically gets numbered and the second follows the first. 

woocommerce_checkout_page

Repeat Rules based on Cart Count

  1. Direct to WooCommerce > Checkout Form
  2. Click the “Add Field”/”Edit Button”.
  3. Direct to the “Repeat Rules” tab.
  4. Select “Cart Count” from the repeat field. 
  5. Select “Number” as Name Suffix and Label Suffix.   
  6. Uncheck “Start indexing from the parent”
  7. Click “Save & Close”. 

The checkout page will show the repeat rules based on the cart count as displayed below. 

repeat_rules_on_cart_quantity

The below image shows that the cart contains two types of products “Cap” and “Beanie” with Cap two in quantity and Beanie one in quantity. Therefore, as the repeat rule is set for Cart Count, the fields get repeated for the number of cart counts. Therefore, the repeat rule gets added three times here. Further, as the Start indexing from the parent is unchecked, the field gets repeated as highlighted below. 

repeat_field_based_on_quantity

Final Thoughts 

Repeat Rules are highly recommended for users when they need to add additional details without clutter in the checkout form. Repeat rules help repeat the custom fields or sections according to specific requirements. This article has covered the Repeat Rules and how the same can be used to customize the checkout page. The Repeat Rules is set based on product quantity and cart count. We have set up the repeat rules on the checkout page using the plugin “Checkout Field Editor for WooCommerce” by “ThemeHigh”. 

Get the plugin

On this page

  • What are Repeat Rules?
  • How to add Repeat Rules on the Checkout Page?
  • checkout_repeat_rule
  • Repeat Rules based on Product Quantity
  • Repeat Rules based on Cart Count

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, How, 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.