Skip to content

nielslange/smntcs-show-sale-price-date-for-woocommerce

Repository files navigation

SMNTCS Show Sale Price Date for WooCommerce

Support Level Build Status GPLv3 License Compatible to WordPress version Compatible to PHP version Downloads Plugin Version Tag Version

Show WooCommerce sale prices date on shopping page.

Description

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';
}

Installation

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

Plugin page

You can find the plugin on https://wordpress.org/plugins/smntcs-show-sale-price-date-for-woocommerce/.

Changelog

1.7 (2024.10.28)

  • Test up to WordPress 6.6

1.6 (2022.12.03)

1.5 (2022.10.08)

  • Test up to WooCommerce 6.9
  • Test up to WordPress 6.0

1.4 (2022.01.09)

  • Test up to WordPress 5.9

1.3 (2020.05.09)

1.2 (2020.03.21)

1.1 (2020.03.21)

1.0 (2020.03.14)

  • Initial release