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

WooCommerce Product Generator

外掛說明

This plugin is intended to be used as a sample product generator for WooCommerce for use on development and testing sites.

It’s purpose is to provide an automated way of creating even very large sets of products, useful in providing a test environment for performance benchmarks and use case testing.

The plugin generates products taking into account the following characteristics:

  • Product Categories
  • Product Tags
  • Product Attributes
  • SKUs
  • Simple and Variable products with variations based on given attributes
  • Stock management and stock numbers (some products will have these set, others won’t)
  • Featured products (a minor subset will be marked as featured)
  • Product images can be obtained from Unsplash or abstract images generated

The plugin provides an administrative section WooCommerce > Product Generator where several aspects can be adjusted.

During the Continuous AJAX Run, the cumulative product generation stats and performance are shown.

The product generation stats and performance are also logged to the site’s debug.log. To disable, add this to your site’s wp-config.php: define( 'WPG_LOG', false );

With the stats provided, this plugin also provides an easy way to benchmark a site: providing an insight into the site’s performance measured by products generated per second. If you want to measure the performance of your site while generating products, make sure to disable the option Get images from Unsplash, as the impact of getting images via the network will be much higher than the product generation itself.

Fork the WooCommerce Product Generator repository to customize the products generated as desired.

螢幕擷圖

  • WooCommerce menu integration.
  • Generator settings.
  • Generator actions, single and continuous product generation runs.
  • Continuous generator running.
  • Some sample products generated.

安裝方式

控制面板

Log in as an administrator and go to Plugins > Add New.

Type WooCommerce Product Generator in the search field, locate the WooCommerce Product Generator plugin by itthinx and install it by clicking Install Now.

Now activate the plugin to be able to generate sample products.

FTP

You can install the plugin via FTP, see Manual Plugin Installation.

使用者評論

閱讀全部 8 則使用者評論

參與者及開發者

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

參與者

將〈WooCommerce Product Generator〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

Changelog.txt