Repository › Forums › Support › Expiry dates for WooCommerce PRO › How do I add Expiration Dates to Product Tables › Reply To: How do I add Expiration Dates to Product Tables

#20369
Soft79
Keymaster

You can override the default template (not shortcode) by copying templates/single-product/expiry-date.php to YOUR_CHILD_THEME/soft79-wc-expiry-dates/single-product/expiry-date.php and edit it as required. It requires some php knowledge.

In the template a variable $stock_items is available. You can use this variable to render the table. As an example of its usage see function formatStockItemsHtml in includes/SOFT79_WCXD_View.php