SMNTCS Show Sale Price Date for WooCommerce

Show WooCommerce sale prices date on shopping page

Show WooCommerce sale prices date on shopping page

Filter

Adjust date format:

add_filter(‘sale_date_format’,’my_custom_sale_date_format’ );
function my_custom_sale_date_format() {
    return “r”;
}

Adjust label:

add_filter(‘sale_date_label’,’my_custom_sale_date_label’ );
function my_custom_sale_date_label() {
    return “Valid until”;
}

Contribute

Contributions are always welcome. Simply head over to Github and create an issue or open a pull request.

  1. Upload ‘smntcs-woocommerce-show-sale-price-date’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress