Skip to content

Commit

Permalink
version increased to 1.0.1, admin section refined, readme added
Browse files Browse the repository at this point in the history
  • Loading branch information
itthinx committed Mar 13, 2015
1 parent aae75ee commit d5ae303
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 2 deletions.
55 changes: 55 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
=== WooCommerce Product Generator ===
Contributors: itthinx
Donate link: http://www.itthinx.com/plugins/woocommerce-product-generator/
Tags: automatic, benchmark, example, generator, performance, product, products, sample, test, tester, testing, test-tool, woocommerce
Requires at least: 4.0
Tested up to: 4.1.1
Stable tag: 1.0.1
License: GPLv3

A sample product generator for WooCommerce.

== Description ==

This plugin is intended to be used as a sample product generator for WooCommerce.

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.

== Installation ==

= Dashboard =

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

Type <em>WooCommerce Product Generator</em> in the search field and click <em>Search Plugins</em>, locate the <em>WooCommerce Product Generator<em> plugin by <em>itthinx</em> and install it by clicking <em>Install Now</em>.
Now <em>activate</em> the plugin to be able to generate sample products.

= FTP =

You can install the plugin via FTP, see [Manual Plugin Installation](http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

== Screenshots ==

1. WooCommerce menu integration.
2. Generator settings.
3. Generator actions, single and continuous product generation runs.

== Changelog ==

= 1.0.1 =
* Tested with WordPress 4.1.1 and WooCommerce 2.3.6.
* WordPress-compliant readme.txt added.
* Added an admin section container.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.1 =
* Tested with latest version of WordPress and WooCommerce, also added a compliant readme.txt.

= 1.0.0 =
* Initial release.
8 changes: 6 additions & 2 deletions woocommerce-product-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
* Plugin Name: WooCommerce Product Generator
* Plugin URI: http://www.itthinx.com/
* Description: A sample product generator for WooCommerce.
* Version: 1.0.0
* Version: 1.0.1
* Author: itthinx
* Author URI: http://www.itthinx.com
* Donate-Link: http://www.itthinx.com
* License: GPLv3
*/

define( 'WOOPROGEN_PLUGIN_VERSION', '1.0.0' );
define( 'WOOPROGEN_PLUGIN_VERSION', '1.0.1' );
define( 'WOOPROGEN_PLUGIN_DOMAIN', 'woocommerce-product-generator' );
define( 'WOOPROGEN_PLUGIN_URL', WP_PLUGIN_URL . '/woocommerce-product-generator' );

Expand Down Expand Up @@ -700,6 +700,8 @@ public static function generator() {
echo __( 'Product Generator', WOOPROGEN_PLUGIN_DOMAIN );
echo '</h1>';

echo '<div class="product-generator-admin" style="margin-right:1em;">';

echo '<div>';
echo __( 'This produces demo products for testing purposes.', WOOPROGEN_PLUGIN_DOMAIN );
echo ' ';
Expand Down Expand Up @@ -858,6 +860,8 @@ public static function generator() {
echo '});'; // ready
echo '}';
echo '</script>';

echo '</div>'; // .product-generator-admin
}
}

Expand Down

0 comments on commit d5ae303

Please sign in to comment.