Documentation

Order Date Block

The Order Date block displays the date when an order was placed. This is essential for order confirmations, invoices, and order-related notifications.

Adding an Order Date Block

  1. While editing your email template, click theย “+”ย button to add a new block
  2. Search forย “Order Date”ย or find it in theย “E-Commerce”ย category
  3. Click to insert the block

Date Format

The Order Date block supports custom date formatting using PHP date format strings.

Default Format

Default: F j, Y (e.g., “January 15, 2025”)

Custom Date Format

Set a custom date format in the block settings. Common formats:

  • F j, Yย – January 15, 2025
  • m/d/Yย – 01/15/2025
  • Y-m-dย – 2025-01-15
  • l, F j, Yย – Wednesday, January 15, 2025
  • M j, Yย – Jan 15, 2025

Label Settings

See theย Billing Address Block documentationย for detailed label settings.

Default Settings

  • Display Label: On
  • Custom Label: “Order Date”
  • Label Separator:ย :
  • Date Format:ย F j, Y

Best Practices

  1. Clear Formatting: Use readable date formats
  2. Consistent Style: Match date format with your brand style
  3. Localization: Consider your audience’s date format preferences

Troubleshooting

See theย Billing Address Block documentationย for troubleshooting tips.

Additional resources

Use the links below for more information and guidance on adding blocks. Keep in mind that these articles are general information related to the WordPress Editor and building with blocks. Email Customizer does not utilize all blocks or functionality due to the limited capabilities of emails.

WordPress Editor