[WordPress] 外掛分享: SMNTCS Show Sale Price Date for WooCommerce

WordPress 外掛 SMNTCS Show Sale Price Date for WooCommerce 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「SMNTCS Show Sale Price Date for WooCommerce」是 2020-03-20 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2024-12-31,距離現在已有 124 天。
  • 外掛最低要求 WordPress 5.3 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

nielslange |

外掛標籤

woocommerce sale price |

內容簡介

在購物頁面上顯示 WooCommerce 特價商品的日期。

篩選器

調整日期格式:

add_filter( 'sale_date_format', 'my_custom_sale_date_format' );
function my_custom_sale_date_format() {
return 'r';
}

調整標籤:

add_filter( 'sale_date_label', 'my_custom_sale_date_label' );
function my_custom_sale_date_label() {
return '有效期至';
}

貢獻

歡迎貢獻。請前往 Github 建立問題或開啟拉取請求。

原文外掛簡介

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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「SMNTCS Show Sale Price Date for WooCommerce」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | trunk |

延伸相關外掛(你可能也想知道)

  • WooProduct Discount period 》如果您想要創建一個價格方案產品外掛程式,該外掛程式可以提供限定時間的特別產品銷售服務優惠。, WooProduct Discount Period 外掛程式的主要功能如下:, , ...。

文章
Filter
Apply Filters
Mastodon