WPSlash

Increase Maximum Number of Orders on Automatic Printing Software for WooFood

Tuesday November 17, 2020

The below code snippet is for increasing the default 10 as maximum number of orders the Automatic Printing Software will fetch .

Copy and paste the following snippet inside your functions.php on your child theme and this will increase the maximum number of orders to fetch to each sync to 20 (You can change 20 to the number of orders you want to fetch)

Please note also the by increasing the number of orders fetched this will also increase the resources needed of your server on each request the WooFood Automatic Printing Software is making. A suggestion is increase it step by step .. Try to increase it at 20 for example and check your server load while the software is running. If you don’t see any server load difference you can increase it even more .

PS: The most restaurants are already covered with 10 orders at processing status at a time . Increase it only if you have more than 10 orders at a time with processing status on WooCommerce

add_filter('wpslash_autoprint_orders_limit', function()
{
return 20;
}
);

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Articles

WooFood

How to Disable Coupons for Delivery Orders in WooCommerce

If you’re running a WooCommerce-powered restaurant or food delivery service, you might want to restrict certain coupon codes for delivery orders while keeping them valid for pickup orders. This ensures better control over discounts, prevents misuse, and improves your store’s pricing strategy. Why Restrict Coupons for Delivery Orders? Offering coupons is a great way to attract customers, but in food […]
June 20, 2023
WooFood

How to Automatically Re-Enable Disabled Products in WooFood Once a Day

If you’re running a WooCommerce-powered restaurant ordering system using WooFood, you might have products that automatically get disabled due to stock limits or availability settings. To ensure a smooth customer experience, you can automate the re-enabling process using a scheduled WordPress cron job. This method allows you to reset all product availability once a day, ensuring your menu stays active without manual intervention. Why […]
March 8, 2023
WooFood

How to Add Live Product Search to WooFood in WooCommerce

Enhancing the user experience of your WooCommerce-powered restaurant ordering system is crucial, and adding a live product search feature can significantly improve navigation. This feature allows customers to quickly find food items in your WooFood-powered menu without manually browsing through categories. In this article, we’ll show you how to integrate a live product search above the accordion menu in WooFood using a simple jQuery script and PHP snippet. […]
December 29, 2022