
內容簡介
外掛「Generate Random Orders for WooCommerce」允許商店擁有者快速生成隨機訂單,成為測試和數據填充的寶貴工具。您可以設定要生成的訂單數量。
生成訂單後,您可以在WooCommerce管理面板中輕鬆查看它們。這個外掛可以在測試店鋪的訂購和支付流程,或者填充您的數據庫時,為您節省大量時間。
它是如何運作的?
該外掛運行一個腳本在這個站點的WooCommerce數據庫中生成隨機訂單和相關數據。您可以指定要生成的訂單數量。
訂單日期設定如下:
- 訂單#1:今天午夜
- 訂單#2:昨天午夜
- 訂單#3:一周前的午夜
- 訂單#4:30天前的午夜
- 訂單#5+:從現在到365天前的隨機日期和時間,其中大約50%的訂單在現在和30天前之間
訂單 billing 名稱和shipping 名稱從兩個可能的名稱中隨機選擇。
訂單 billing 電話和shipping 電話是隨機生成的10位數字。
訂單使用者ID為1或2。JSON假定使用者1的暱稱是user1,使用者2的暱稱是user2(如果不使用JSON,則無關緊要)。
訂單 billing 地址和shipping 地址是相同的,從兩個可能的地址中隨機選擇,一個是加拿大地址,一個是美國地址。
訂單 billing 電子郵件是[email protected],其中N是1至3之間的隨機數字。
每個訂單有(隨機)1到5個產品項目。WooCommerce商店必須同時擁有變動和簡單產品,產品是隨機選擇的,對於變動產品有約33%的偏向和對於簡單產品有約67%的偏向。每項產品的數量是1到5之間的隨機數字(整數)。
大約25%的訂單分配給本地取貨。大約75%的訂單分配給統一運費。WooCommerce商店中的運費必須設定統一運費的實例ID為1,本地取貨的實例。
疑問與回答:
- 「Generate Random Orders for WooCommerce」外掛是用來做什麼的?它可以幫助商店擁有者快速生成隨機訂單,用於測試和數據填充。
- 如何設定要生成的訂單數量?您可以在外掛中指定生成的訂單數量。
- 能否在WooCommerce管理面板中查看生成的訂單?是的,一旦生成訂單,您可以在WooCommerce管理面板中輕鬆查看它們。
- 這個外掛可以節省多少時間?使用這個外掛可以節省大量時間,特別是在測試商店的訂購和支付流程,或者填充數據庫時。
Note: Due to the limitation of the platform, the bullet points cannot be presented in an HTML bulleted list format.
外掛標籤
開發者團隊
② 後台搜尋「Generate Random Orders For WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
The “Generate Random Orders for WooCommerce” plugin allows store owners to generate random orders quickly, making it a valuable tool for testing and data population. You can set the number of orders to generate.
Once you generate the orders, you can easily view them in the WooCommerce admin panel. This plugin can save you a significant amount of time when testing your store’s ordering and payment processes or when populating your database with random data.
How it works?
This plugin runs a script to generate random orders and related data in this site’s WooCommerce database. You can specify how many orders you want to generate.
Order dates are set as follows:
– Order #1: midnight today
– Order #2: midnight yesterday
– Order #3: midnight one week ago
– Order #4: midnight 30 days ago
– Order #5+: random date and time between now and 365 days ago, with ~50% of orders between now and 30 days ago
Order billing name and shipping name are each randomly selected from two possible names.
>Order billing phone and shipping phone are randomly generated 10-digit numbers.
Order user ID is either 1 or 2. The JSON assumes that the nickname of user 1 is user1, and the nickname of user 2 is user2 (this doesn’t matter if the JSON is not being used.
Order billing address and shipping address are the same, randomly selected from two possible addresses, one Canadian and one US.
Order billing email is [email protected], where N is a random number from 1 to 3.
Each order has (randomly) 1 to 5 product items. The WooCommerce store must have both variable and simple products. Products are selected at random with a ~33% bias toward variable products and ~67% bias toward simple products. Each item has a random quantity between 1 and 5 (whole number).
~25% of orders are assigned local pickup. ~75% of orders are assigned flat rate shipping. The shipping in the WooCommerce store must be set up with flat rate having instance ID 1 and local pickup having instance ID 2. Shipping amount is a random whole number between 5 and 20.
~33% of orders have coupon code 50OFF added. This coupon code must be configured in WooCommerce.
Orders are randomly assigned statuses with the following approximate distribution: 14% pending, 29% processing, 57% completed. Some orders may have their status automatically changed to refunded due to the line item refund, if the refund results in the entire order being refunded.
~50% of orders have a custom meta field wpz_custom_meta_1, and ~50% of orders have a custom meta field wpz_custom_meta_2. The value of either field is a random 3 digit number.
The JSON assumes that two taxes are set up: tax ID 1 is GST, tax ID 2 is PST. This doesn’t matter if the JSON is not being used.
~20% orders have line item refunds. Each refund has one product item, and the quantity refunded is 1; refund amounts correspond to quantity pro-rated line total and taxes. A corresponding amount of shipping is refunded (ignoring other items that may be on the order). Refunds are dated between 1 and 14 days from the order date, but not past the current time.
Addons & Integrations
Looking to automate your reports, share them on the frontend of your site, or export details about an individual sale for order fulfillment? Upgrade or become a member for access to these add-ons:
Ninjalytics: Sales Reports & Order Export for WooCommerce and EDD – the rebranded Product Sales Report. Create powerful sales reports and order exports with charts, 15+ templates, and live report preview (Pro version also available)
Scheduled Email Reports for WooCommerce – email your reports as an attachment on a recurring schedule
Frontend Reports for WooCommerce – embed a report or a download link in a post or a page
Export Order Items Pro for WooCommerce – export order details for use in order fulfillment and data analysis
Extra Product Options Addon for Export Order Items – export fields from the WooCommerce Extra Product Options plugin
Plugins for BBPress:
– Image Upload for bbPress Pro – premium version of the inline image upload plugin for bbPress
– S3 Image Storage for bbPress – store bbPress image uploads on Amazon S3
You may also like these plugins
BerryPress has built a range of powerful plugins for WooCommerce and WordPress. Check out some of our favorites below – and don’t forget to leave a ⭐⭐⭐⭐⭐ review to help others in the community discover them!
Live Carts for WooCommerce – Free plugin to view and analyze live shopping carts in real time to understand user behavior and optimize conversions (Pro version also available). Integrates with Ninjalytics to add 4 specialized cart reporting templates.
Automatic Product Categories – Available as a free version and Pro. Automatically assign products to categories and tags, based on custom rules, saving you time and keeping your store organized.
Inline Image Upload for BBPress – Add a TinyMCE WYSIWYG editor to BBPress forums and enable inline image uploads, so users can easily attach and display images within their posts.
Advanced Order Editor for WooCommerce – Add editable Paid date, Completed date and Payment method fields in the WooCommerce order admin screen.
PhotoBerry Studio – provides a complete solution to enhance and streamline your photography workflow. With advanced tools for image organization, gallery management, and client proofing, it transforms the way you work.
LoginBerry – bundles account verification, two-factor authentication (2FA), passwordless login, and login logs. Each feature can be enabled or disabled independently. Outgoing codes are delivered by email.
Customer Address Change Notification for WooCommerce – Get instant notifications when customers update their shipping or billing address, helping you stay on top of changes and prevent delivery issues.
To view BerryPress’s premium WordPress plugins and themes, visit our WordPress products catalog page.
