這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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!