WPSlash Blog

Guides for WordPress & WooCommerce

Tutorials, product updates, and practical tips to help restaurants and stores get more from their site.

WooFood AJAX Popup Compatibility Mode
FoodMaster (formerly WooFood) Tutorials

WooFood AJAX Popup Compatibility Mode

In case you are having issues with any third party plugins when using WooFood you can add the following snippet to your functions.php on your child theme to turn on the old way of the quickview and enable possible support with other third party WooCommerce Plugins

September 9, 2020
Direct AJAX add to Cart on Simple Products without Extras
FoodMaster (formerly WooFood) Tutorials

Direct AJAX add to Cart on Simple Products without Extras

You can use the following snippet to your functions.php on your child theme to disable the popup on simple products without extra options

August 27, 2020
How to Use WooFood for Table Ordering
FoodMaster (formerly WooFood) Tutorials

How to Use WooFood for Table Ordering

If you are thinking to use WooFood for in-table ordering here is a small code snippet that will get automatically get the table number . The below code can be added on functions.php of your child theme. With the below code you can set the parameter table to the table number like https://www.yoursite.com/?table=45

August 12, 2020
Add Custom Text before Products inside WooFood menu
FoodMaster (formerly WooFood) Tutorials

Add Custom Text before Products inside WooFood menu

Here is a small guide on how to add custom text or html before the Product loop inside WooFood menu. The following code will add “Your custom text goes here” when the Product Category Slug is burger-meals

August 6, 2020
Disable default WooFood Accordion Caching
FoodMaster (formerly WooFood) Tutorials

Disable default WooFood Accordion Caching

The following code snippet will disable the default caching with transient of WooFood accordion shortcode

July 28, 2020
Setup WooFood for Table Orders  only
FoodMaster (formerly WooFood) Tutorials

Setup WooFood for Table Orders only

If you want to setup WooFood to accept orders using only a table number the below hook will help you setup it in no time. You have to change only the Table Number and the $I based on the maximum number of tables you have

July 20, 2020
WooFood Remove Checkout Fields and Rename on WooCommerce
FoodMaster (formerly WooFood) Tutorials

WooFood Remove Checkout Fields and Rename on WooCommerce

The following sample code snippet will help you remove all the Address fields from both Billing and Shipping Fields . This snippet will also rename the label name from First Name to Table Name The following snippet will remove Email and Phone fields from Checkout

July 10, 2020
Set a Minimum Order amount per Zip Code
FoodMaster (formerly WooFood) Tutorials

Set a Minimum Order amount per Zip Code

Here is a small snippet on how to set a minimum amount for for delivery per zip code Just copy and paste the following code snippet your functions.php on your child theme.

July 10, 2020
Add WooFood postal code validation on Multistep Checkout Pro
FoodMaster (formerly WooFood) Tutorials

Add WooFood postal code validation on Multistep Checkout Pro

Here is a small snippet to make WooFood compatible with Multistep Checkout Pro. Just copy and and paste the following code to your functions.php on your child theme.

July 9, 2020
Delivery Time based on Product Preparation Time
FoodMaster (formerly WooFood) Tutorials

Delivery Time based on Product Preparation Time

Here is a code snippet to copy to your functions.php inside your child theme if you want the average delivery time based on products preparation time you will specify + Average Deliver/Pickup time you specify under Settings on WooFood. Note: Copy the second snippet only if you want to calculate only the longest preparation time […]

June 22, 2020
Remove Fields from Checkout Page on WooCommerce
FoodMaster (formerly WooFood) Tutorials

Remove Fields from Checkout Page on WooCommerce

Here is a small code snippet to remove the fields you want from the Checkout page on WooCommerce. Just copy and paste the following snippet inside your functions.php on your child theme . Note: The below code will actually remove all billing and shipping checkout fields from WooCommerce . Keep only the lines with unset […]

June 19, 2020
Integrate Twilio for WooCommerce with WooFood
FoodMaster (formerly WooFood) Tutorials

Integrate Twilio for WooCommerce with WooFood

Here is small code snippet to be able to use WooFood custom variables like Order Type (Delivery or Pickup), Date To Deliver and Time To Deliver .

June 15, 2020
1 32 33 34 35
×

🔥 ONE DAY ONLY OFFER 🔥

Upgrade FoodMaster Today

Normally your license is limited to 1 Website.

Today only, get a LIFETIME Unlimited Websites License for just:
$499

✔ Unlimited Client Websites
✔ Unlimited Personal Projects
✔ Future Updates Included
✔ Save Hundreds on Additional Licenses

Offer Ends In: