GithubHelp home page GithubHelp logo

jenkoian / wc-smooth-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from woocommerce/wc-smooth-generator

0.0 2.0 0.0 95 KB

Smooth product, customer and order generation for WooCommerce

PHP 100.00%

wc-smooth-generator's Introduction

WooCommerce Smooth Generator

A smooth products, customer and order generator using WP-CLI. Future versions will include scheduled auto generation functionality.

Installation

WooCommerce Smooth Generator requires Composer and WP-CLI to function.

  1. Clone this repository into your site's plugins folder
  2. From command line CD into the cloned repository
  3. From command run composer install and wait for the installation to complete
  4. Run wp plugin activate wc-smooth-generator to activate the plugin
  5. You now have access to a couple of new WP-CLI commands under the main wp wc generate command.

Commands

Products

Generate products based on the number of products paramater.

  • wp wc generate products <nr of products>

Orders

Generate orders from existing products based on the number of orders paramater, customers will also be generated to mimic guest checkout.

Generate orders for the current date

  • wp wc generate orders <nr of orders>

Generate orders with random dates between --date-start and the current date.

  • wp wc generate orders <nr of orders> --date-start=2018-04-01

Generate orders with random dates between --date-start and --date-end.

  • wp wc generate orders <nr of orders> --date-start=2018-04-01 --date-end=2018-04-24

Customers

Generate customers based on the number of customers paramater.

  • wp wc generate customers <nr of customers>

wc-smooth-generator's People

Contributors

rodrigoprimo avatar kloon avatar mikejolley avatar jrfnl avatar ediamin avatar justinshreve avatar sultann avatar psealock avatar rrennick avatar oskosk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.