该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WooCommerce Notices Fix

描述

Make WooCommerce Notices Compatible with all Cache Plugins using a Redirection with a ?woonotice=yes parameter and avoid to be cached.

安装

  1. Upload the plugin to the “/wp-content/plugins/” directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Done.

常见问题

  1. Which Notices are you talking about?
    Some themes are using the dedicated WooCommerce hooks named ‘woocommerce_before_shop_loop’ & ‘woocommerce_before_single_product’.
    The problem is that WooCommerce will print its notices in PHP.
    If you’re using a caching plugin, like WP Rocket, or you won’t get the notices, or the notices will be stored into the cached files.

  2. Ok, so what kind of fix this is?
    I detect when WooCommerce need to print a notices, then i reload the same URL adding a GET parameter, this tip avoid pages to be cached or read from cache.

评价

此插件暂无评价。

贡献者及开发者

“WooCommerce Notices Fix” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.1

  • 19 oct 2014
  • First release