75nineteen / order-simulator-woocommerce Goto Github PK
View Code? Open in Web Editor NEWAn automated generator of fake orders for WooCommerce for testing or other purposes
Home Page: http://www.75nineteen.com
An automated generator of fake orders for WooCommerce for testing or other purposes
Home Page: http://www.75nineteen.com
I folks ;)
I got the following error on installation:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert into fakenames values('1','female','Jennifer','Moreno','814 Reserve St' at line 1 for query insert into fakenames values('1','female','Jennifer','Moreno','814 Reserve St','Woodville','ON','K0M 2T0','CA','Canada','[email protected]','Maysinger','aidaeZeyi0','705-439-5208','Smith','11/2/1971','Consumers and Consumers Express'); made by activate_plugin, do_action('activate_order-simulator-woocommerce/woocommerce-order-simulator.php'), call_user_func_array, WC_Order_Simulator->install
Any clue?
This works fine and is fast if you only when let's say 1000 rows. As soon as you have 10000 rows the overhead for sorting the rows becomes important. More info here
Please replace the line with :
$user_row = $wpdb->get_row("SELECT * FROM fakenames JOIN (SELECT CEIL(RAND() * (SELECT MAX(number) FROM fakenames)) AS number ) AS r2 USING (number);");
Does absolutely nothing, don't create users, don't add orders to existing ones.
Hi 75nineteen,
after activating the plugin the wp-cron.php generated the following fatal error:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Checkout::create_order(), 0 passed in /var/www/xyz/wp-content/plugins/order-simulator-woocommerce-master/woocommerce-order-simulator.php on line 235 and exactly 1 expected in /var/www/xyz/wp-content/plugins/woocommerce/includes/class-wc-checkout.php:269 Stack trace: #0 /var/www/xyz/wp-content/plugins/order-simulator-woocommerce-master/woocommerce-order-simulator.php(235): WC_Checkout->create_order() #1 /var/www/xyz/wp-content/plugins/order-simulator-woocommerce-master/woocommerce-order-simulator.php(120): WC_Order_Simulator->create_orders() #2 /var/www/xyz/wp-includes/class-wp-hook.php(298): WC_Order_Simulator->create_orders_on_init() #3 /var/www/xyz/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #4 /var/www/xyz/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #5 /var/www/xyz/wp-cron.php(117): do_action_ref_array('wcos_create_ord...', Array) #6 {main} thrown in /var/www/xyz/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 269
WP, WC and plugin is the newest version.
Hope you can fix it! Thanks in advance!
Michael
To better support various statuses that may be required for a given site, instead of hard-coding the specific Completed
, Processing
, and Failed
, have it return all statuses (including custom) and add ability to set the %
chance of any status being selected.
Just curious if this plugin is still working on the latest version of WooCommerce? I installed and setup successfully but it seems to only want to create one order every time it runs on the hour. Any suggestions? Thanks in advance.
I turned it on, and it's still generating new orders, even after disabling the plugin...
Hello,
Using this on a stage env. and seing the new order atribution set to "unknown", it would be great to show "fake order" or something, so it will be clear for everyone what orders are real and what are not!
thank you!
I use your plugin to load test my woocommerce store.
But it seems the maximum is 18000 orders per hour. Can't be more than that.
I increase the memory from 16g to 192gb. And do mysqtuner. Its still same. The maximum limit is 18000 per hour. Is this true?
Is this limit from your plugin or from woocommerce itself?
I tried activating the plugin but it didn't at all
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.