這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WooCommerce On Sale Information

描述

This is a very simple plugin that shows the sale start and end date on the product page. Works with simple and variable products.

It’s on the roadmap adding a couple of features like the discount percentage, however I do plan to keep this plugin very simple.

Features:

  • Adds the Sale start date on the product price (near the price);
  • Adds the Sale end date on the product price (near the price);
  • Works with Simple and Variable Products;
  • Allows for different discounts and dates per variation;
  • Does not add any CSS;
  • Lightweight;

安裝

  • Use the included automatic install feature on your WordPress admin panel and search for “WooCommerce On Sale Information”.
  • Install and Activate the plugin.
  • Done 🙂

常見問題

How can I style the sale information?

You will need to add custom css to your theme.
Currently there are 3 classes:

  • .vgy_wcosi_wrapper for the wrapper of both start and end dates;
  • .vgy_wcosi_sale_from_date for the start date;
  • .vgy_wcosi_sale_end_date for the end date;
Is this plugin compliant with the European Union General Data Protection Regulation (GDPR)?

This plugin does not collect or store any private data.

評價

2019年2月6日 1 reply
uploaded plugin and activated and it displayed the sale end date for all my variable products which is exactly what I needed. thanks!
閱讀全部1個評價

貢獻者及開發者

“WooCommerce On Sale Information” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

WooCommerce On Sale Information 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 WooCommerce On Sale Information 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.2

  • Made 1.1.2 the Stable Version (ops again…)

1.1.1

  • Fixed Version Number (ops)

1.1.0

  • Added support for sale start date.
  • Fixed issue where the class names where not printed.
  • Changed to

<

div> so it appears on a new line.
* Updated tested up to WordPress 5.3-alpha-45777 and WooCommerce 3.7.0-rc.2.
* Minor tweaks to code.

1.0.2

  • Updated tested up to WordPress 5.2.0 and WooCommerce 3.6.3.

1.0.1

  • Fixed duplicated filter name.
  • Removed language files from plugin files.
  • Minor tweaks to code comments.

1.0.0

  • Initial release.