该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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 回复
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.