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

评价

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!
阅读所有1条评价

贡献者及开发者

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

贡献者

“Category Listing for WooCommerce”插件已被翻译至2种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Category Listing for WooCommerce”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.