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

In Stock Layered Nav for WooCommerce

描述

Currently, when viewing an attribute catalog page in a store, products still show up if they are out of stock for the specified attribute. This could result in a frustrating customer experience.

Example: Consider Product A. Product A comes in sizes 1, 2, & 3. However, size 2 is currently out of stock. If I filter the catalogue using WooCommerce Layered Nav widget, I will see Product A listed under size 2, even though it is out of stock. This would remove Product A from the size 2 page until it is restocked.

A few notes about the plugin:

  • WooCommerce is of course required.
  • This will only work for attributes used in variations.
  • The attributes need to be taxonomies, and not defined on the product level.

安装

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常见问题

I am not seeing out of stock products removed from attribute catalog pages.

The attribute & options need to be set up as an [attribute taxonomy in WooCommerce](https://docs.woothemes.com/document/managing-product-taxonomies/#adding-attributes-to-your-store “Adding Attributes to your Store”).

Will this plugin cause any performance issues?

Even though the best efforts have been made to minimize any performance impacts, this plugin does perform some potentially heavy additional queries to filter out itms not in stock. It is recommended that you test this plugin on a staging version of your site first to ensure everything goes smoothly.

评价

阅读所有1条评价

贡献者及开发者

“In Stock Layered Nav for WooCommerce” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Say hello to everyone WooCommerce In Stock Layered Nav!