Skip to content
This Plug-In will allow Admins to auto-generate Users, Categories, Items, and fake Transactions.
HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
README.md

README.md

Arcadier

Marketplace Populator Plug-In

This article will contain all the necessary info on the functionality, flexibility, and possibilities of the Marketplace Populator Plug-In and will mostly be in regards to Developers. To actually use the Plug-In in fairly simple, however, this article will go more in depth on how possible alteration the given code can be explored.


Generating Users

To use the User Generator, click on the Users tab at the top of the page.

1

Enter the number of Merchants and Buyers you would like to generate for your marketplace. Click the blue "Generate Users" button. Once you receive the Success message, the numbers within the [] brackets indicate the User number. For example, if you take a look at the screenshot below, the 5 Merchants that were created would have the following s: Merchant1920, Merchant1921, Merchant1922, Merchant1923, Merchant1924 (Basically 1920-1924).

2

The same applies to the usernames of Buyers. If you would like to see the complete list of your generated Users, go to your marketplace's User Management page.

3


Generating Categories

To use the Category Generator, click on the Categories tab at the top of the page.

1

Enter the number of Categories and SubCategories you would like to generate for your marketplace. Click the blue "Generate Categories" button. Once you receive the Success message, the numbers within the [] brackets indicate the Category number. For example, if you take a look at the screenshot below, the 2 Categories that were created would have the following names: Category234 and Category235.

2

As for the SubCategories, they would contain the parent Category's number as well as an alphabetical letter indicating which SubCategory: SubCategory234A and SubCategory234B, SubCategory235A and SubCategory235B (total 4 SubCategories).

3


Generating Items

To use the Item Generator, click on the Items tab at the top of the page.

1

Enter the number of Items, and under which Merchant (by username), you would like to generate for your marketplace. Click the blue "Generate Items" button. Once you receive the Success message, the numbers within the [] brackets indicate the Item number. If you take a look at the screenshot below, the 4 Items that were created would have the following names: Item689, Item690, Item691, Item692 (Basically 689-692).

2

If an invalid username or email is entered, an error message will appear indicating a failure to generate the items for that specific Merchant.

3

If you would like to see the results of your Item Generator, go to the User page of your marketplace where you will be able to see the various listings created.

4


Generating Transactions

To use the Transaction Generator, click on the Transactions tab at the top of the page.

1

To generate fake Transactions for your marketplace, no specific inputs are required. Simply click the blue "Generate Categories" button and the Transactions will be made. You do not need to initialize anything before generating fake Transactions as all of the information is hard coded. In other words, your marketplace can be completely empty to generate Transactions. Please note that in order to generate fake Transactions, some variables are automatically generated which are indicated in the screenshot below. Once you receive the Success message, you will be given the username of the generated Buyer which is involved in all 10 transactions created.

2

In order to view your generated Transactions, go to your marketplace's Payments & Transactions page.

3


Uploading Users

To upload defined Users onto your marketplace, click on the Upload Users tab at the top of the page.

[1]

This section of the Plug-In makes use of csv files in order to incorporate established data from the marketplace Administrator. Download the User Template csv file and follow the instructions and parameters carefully. Take note of the following rules/warnings to prevent errors of any sort:

  • (R) indicates that the input for that section is Required
  • (M) indicates that the input for that section is only for Merchants
  • If any part of your input contains commas(","), put quotation marks around the entire input
    • Example: "This is my description, that contains, a lot, of commas,,,"
  • Users created will have initializing passwords identical to their respective Username/Email

[2 - input]

After uploading the file, click on Upload Users to complete the generation. Please take note of the following errors that may result in a miscreation or an incorrect update:

  • The Username/Email already exists
  • Invalid Phone Number
    • Will NOT create User
  • Invalid Postal Code
    • Will NOT create User
  • Invalid Country Code
    • Will NOT create User
  • Invalid Delivery Method
    • Will create User but not Shipping Method
  • Invalid Currency Code
    • Will create User but not Shipping Method
  • Invalid Price
    • Will create User but not Shipping Method
  • Invalid Combined Price
    • Will create User but not Shipping Method All errors will indicate which User has encountered which issue.

Uploading Items

To upload defined Items onto your marketplace, click on the Upload Items tab at the top of the page.

[1]

This section of the Plug-In makes use of csv files in order to incorporate established data from the marketplace Administrator. Download the Item Template csv file and follow the instructions and parameters carefully. Take note of the following rules/warnings to prevent errors of any sort:

  • (R) indicates that the input for that section is Required
  • If any part of your input contains commas(","), put quotation marks around the entire input
    • Example: "This is my description, that contains, a lot, of commas,,,"
    • Please do this for multiple Categories and/or multiple Tags
  • This Plug-In does not support items with variance

[2 - input]

After uploading the file, click on Upload Users to complete the generation. Please take note of the following errors that will result in an error, causing that specific item to not be created:

  • The User does not exist on your marketplace
  • The User is not a Merchant
  • Invalid Price
  • Stock Quantity not specified for Limited Stock
  • Invalid Stock Quantity
  • Invalid Currency Code
  • Invalid Categories
    • Item will still be created as long as there is ONE valid Category All errors will indicate which Item has encountered which issue.
You can’t perform that action at this time.