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

Featured First then Random for WooCommerce

外掛說明

This is a small plugin for WordPress which adds extra product sorting option: Featured First then Random. It can be very useful for stores with a large amount automatically imported items, e.g., from AliExpress.

It works perfectly with WooCommerce v. 2.3 and newer.

It is available in English and Russian for now.

  • This plugin uses Session seed (unique session id) to randomize item order so you can use random product list even with pagination!
  • It is automatically reset when user opens the first page or by timer (every hour/day. Timer starts when user opens your store).
  • Demo web-site is available here.

螢幕擷圖

  • Product catalog with the plugin
  • Display settings

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/woocommerce-featured-then-random-sorting directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings → Plugin Name screen to configure the plugin
  4. New sorting option will be available on all your store pages.

Also you can customize the plugin:
1. Go to Dashboard → WooCommerce → Settings → Items → Display
1. Here you can choose default sorting option, default sorting label, randomize event and Featured First then Random custom label.

常見問題集

Is it possible to rename the sorting option?

Yes, just go to WooCommerce Settings → Products → Display settings and enter your own label for Default or Featured First sorting option.

How can I add “Featured Item” label to my existing item?

There are two ways to do that:
1. To mark a product as featured go to Products → Products. Find the product you would like to feature and click the Featured Star. Featured products will have the star icon filled in.
2. Or just open your item and change Catalog visibility option: enable “Featured Product” checkbox.

Will it work with pagination?

Yes! This plugin uses Session seed (unique session id) to randomize item order so you can use random product list even with pagination!

使用者評論

2017 年 2 月 7 日
thank you for nice plugin. I search on internet but only I find random sorting codes. But I need featured + random ... Thank you so much
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Featured First then Random for WooCommerce〉的開發相關工作。

參與者

變更記錄

1.0

  • Added capability to change randomize event (hourly, daily or on the first page)
  • Improved styling of settings page
  • Code improvements
  • New logo

0.9

  • Initial release