1. Home
  2. Docs
  3. Product Expiry for WooCom...
  4. Global Settings
  5. Display Settings

Display Settings

Display settings control where and how the expiry date appears on your store.

product expiry settings for woocommerce

Display on Frontend

Enable or disable displaying expiry dates on the product page.

Options

Enable
Disable

If enabled, the expiry date will appear on the product page.


Expiry Text Markup

This setting controls the text shown with the expiry date.

Example:

Expiry Date: {expiry_date}

The placeholder {expiry_date} will automatically be replaced with the formatted expiry date.

Example output:

Expiry Date: December 25, 2026

Position of Date on Single Product Page

This setting allows developers to define the WooCommerce hook where the expiry date should be displayed.

Example hook:

woocommerce_single_product_summary

This provides flexibility for theme customization.


Position of Date on Shop Archive Page

This option allows you to display expiry dates on product archive pages such as:

  • Shop page
  • Category pages
  • Product listings

Example hook:

woocommerce_after_shop_loop_item_title

Date Format

Specify how the expiry date should appear.

Example formats:

F j, Y
d-m-Y
Y/m/d

The format follows the WordPress date format standards.


Display in Emails

Enable this option to include expiry dates in order confirmation emails sent to customers.


Display in Order Details

When enabled, the expiry date will appear:

  • In the admin order page
  • On the customer’s order details page

This helps customers see product validity after purchase.