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

Category Listing for WooCommerce

外掛說明

WooCommerce displays categories and products in the same list by default, which doesn’t look very good and it’s hard for the user to understand, what is products and what is categories.

This little plugins splits categories and products into two separate lists.

It’s important that you DON’T ask WooCommerce to “Show categories and products” in the Customizing Tab. Set it to the default option “Show products”, and the separate listing for categories will automatically be added before the list of products.

The frontend is by default in English, but is also available in German, Spanish, Danish and Russian. POT included for easy translation with Poedit, WPML or Polylang.

Plugin is tested and tried with Storefront by Automattic.

螢幕擷圖

  • This is a screenshot of the main Shop page in WooCommerce, when the plugin is active. Storefront theme used for example.
  • This is a screenshot of a category page showing the subcategories in WooCommerce. Storefront theme used for example.

安裝方式

  1. Upload the Category Listing for WooCommerce plugin to the /wp-content/plugins/ directory or through the Plugins and Add New section in the WordPress Dashboard.
  2. Activate the plugin through the Plugins menu in WordPress
  3. That’s all!

常見問題集

Will the plugin create a separate listing for categories?

Yes, all your categories will be shown above the product list on archive pages.

Will I be able to determine what pages will show the category listing?

No, at the moment the plugin is always showing the categories above the products. If the current category doesn’t have any subcategories, no categories will be shown.

使用者評論

2023 年 1 月 27 日
A simple plugin that does what we expected, split Categories from Products.Please keep the plugin updated and compatible with Wordpress and Woocommerce.
2019 年 8 月 23 日
The default WooCommerce "Show Categories & Products on the shop pages can be messy and confusing. This plugin perfectly solves the issue in a nice and user friendly way. No more guessing or miss clicking between a category or a product!
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Category Listing for WooCommerce〉的開發相關工作。

參與者

〈Category Listing for WooCommerce〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Category Listing for WooCommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.6

  • Version – WC tested up to 7.7.0

1.0.5

  • Enhancement – Implementing BEM naming structure
  • Enhancement – CSS cleanup
  • Version – WC tested up to 7.6.1

1.0.4

  • Enhancement – Remove unnecessary
  • Enhancement – Changed the conditional logic to only show on WooCommerce pages with a shop loop.
  • Dev – Add a unique id with the category slug to each single list tag
  • Version – WC tested up to 5.1.0

1.0.3

  • Removed categories from search results page.
  • Removed headlines from search results page.
  • Tested with newer version of WooCommerce.

1.0.2

  • List is now using flex grid.
  • Improved mobile experience.
  • Tested with newer version of WordPress and WooCommerce.

1.0.1

  • Removed the Categories headline when there’s no categories.
  • Updated the Danish translation.

1.0.0

  • Initial release.