{"id":16062495,"url":"https://github.com/varunsridharan/woocommerce-dumpper","last_synced_at":"2025-03-26T20:40:28.005Z","repository":{"id":80544414,"uuid":"106426865","full_name":"varunsridharan/woocommerce-dumpper","owner":"varunsridharan","description":"A sample product generator for WooCommerce. ","archived":false,"fork":false,"pushed_at":"2017-10-14T01:18:04.000Z","size":3539,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T02:26:37.920Z","etag":null,"topics":["dummy-data","performance-test","product-generator","woocommerce","woocommerce-plugin","woocommerce-store"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/varunsridharan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-10T14:16:34.000Z","updated_at":"2019-01-08T05:49:52.000Z","dependencies_parsed_at":"2023-03-12T11:23:59.770Z","dependency_job_id":null,"html_url":"https://github.com/varunsridharan/woocommerce-dumpper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2Fwoocommerce-dumpper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2Fwoocommerce-dumpper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2Fwoocommerce-dumpper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2Fwoocommerce-dumpper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varunsridharan","download_url":"https://codeload.github.com/varunsridharan/woocommerce-dumpper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245733405,"owners_count":20663511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dummy-data","performance-test","product-generator","woocommerce","woocommerce-plugin","woocommerce-store"],"created_at":"2024-10-09T04:40:49.307Z","updated_at":"2025-03-26T20:40:27.983Z","avatar_url":"https://github.com/varunsridharan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WC Product Generator\n##### Simple WooCommerce Dummy Product Generator For Testing.\n--\n## How To Install.\n* ##### Download Files To your `wp-content/plugins/`\n* ##### Activate it as a plugin via `wp-admin`\n* ##### Run this basic setup via `http://example.com/wp-admin/admin-ajax.php?action=vs_setup_defaults`\n\n\n\n## Configurable Files \u0026 Folders\n#####  (Located In `wc-product-generator/data/`)\n* ##### `titles.json` titles will be generated with the preset values\n* ##### `categories.json` preset category will be used when creating products\n* ##### `attributes.json` preset attributes will be used when creating products.\n* ##### `images/` images in this folder will be picked random for each product / product variation creation. use files name like `image-{sn}.jpg` eg : `image-1.jpg , image-15.jpg`\n\n\n\n## How to add more categoires\n#### Sample Category File\n```json\n{ \"Standard Category\",\"Category With Child\": [\"Child 1\",\"Child 2\" ]}\n```\n\n#### Add Single Category \n```json\n{ \"Standard Category\",\"Standard Category 2\",\"Category With Child\": [\"Child 1\",\"Child 2\" ]}\n```\n\n#### Parent \u0026 Child Category\n```json\n{ \"Standard Category\",\"Category With Child\": [\"Child 1\",\"Child 2\" ],\"Category With Child 2\": [\"Child 1\",\"Child 2\" ]}\n```\n\n#### How To Create Products\n```php\n$class = WC_Product_Generator_View::instance();\n$class-\u003eset_generator();\n$generator = $class-\u003egenerator;\n$generator-\u003erun(array(\n    'product_image' =\u003e true, # true / false\n    'product_type' =\u003e 'variable', # simple, variable, grouped, external,\n    'extra_metas' =\u003e array(), # array(\"_key1\" =\u003e 'value','_key2 =\u003e 'value'),\n    'excerpt' =\u003e true, #true / false\n    'product_cat' =\u003e  true, #true / false\n    'product_tag' =\u003e  true, #true / false\n    'selling_price' =\u003e  true, #true / false\n    'product_attributes' =\u003e  true, #true / false\n    'product_gallery' =\u003e  true, #true / false\n    'product_sku' =\u003e  true, #true / false\n    'stock_status' =\u003e '',# instock / outofstock / ''\n    'manage_stock' =\u003e 'no', # yes / no / ''\n    'stock' =\u003e '', # any number or empty,\n    'product_gallery_count' =\u003e 5, # any number\n    'cat_max' =\u003e 2, # Total Number of category per product,\n    'tag_max' =\u003e 8, # Total Number of tags per product \n    'attribute_per_product' =\u003e 7, # Total Number of attributes per product\n    'attribute_terms_per_product' =\u003e 'all', # Total number of terms per attribute per product. or enter all to insert all attributes\n))\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunsridharan%2Fwoocommerce-dumpper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarunsridharan%2Fwoocommerce-dumpper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunsridharan%2Fwoocommerce-dumpper/lists"}