North Commerce
Back to North Commerce
  • 🚀Getting Started
    • Welcome to North Commerce
    • Installation
  • ⛰️Core Concepts
    • Orders
    • Products
      • Create a product
      • One Time Products
      • Subscription Products
      • Payment Plan Products
  • 💳Payment Gateways & Merchants
    • Stripe
    • PayPal
  • 📄Single Page Checkout Forms & Funnels
    • Single Page Checkout
  • 🎨Styling
    • Global CSS Variables
  • Builders
    • Beaver Builder
      • Building With Beaver Builder
    • Bricks
      • Query Loop
      • Attributes
        • Cart Item Attributes
    • Oxygen
  • Shortcodes
    • Product Collections
    • Product Collection Slider
    • Product Page
    • Cart Page
    • Checkout Page
    • Cart Drawer
    • Cart Icon
    • Customer Registration
    • Customer Account
  • Settings
    • General
  • For Developers
    • Flows
      • Add To Cart
      • Flow Events
      • Custom Functions In Flows
    • PHP "API"
      • Basic Entity Access Usage
    • Hooks & Actions
      • View Admin Hook Names
    • REST API
      • Getting Started
      • Adding Test Data
      • Filtering
  • Integrations
    • Create an integration
Powered by GitBook
On this page

Was this helpful?

  1. For Developers
  2. REST API

Adding Test Data

To get started testing North Commerce you can add test data to your store.

Load Test Data

To load test data, access your WordPress server. If this is a remote server, then this is probably done via ssh. If your running a local server, then you can probably access your server via a terminal of some sort.

Change in the plugin source code directory and run the following command:

ssh <my linux server>
$ cd /var/www/html/wp-content/plugins/north-commerce
$ php -f tools/populate_test_data.php num_users=3 num_products=4 num_coupons=3
...

The populate_test_data.php command takes some time. It will create the number of users requested, and 10 test orders for each of these users.

PreviousGetting StartedNextFiltering

Last updated 1 year ago

Was this helpful?