WPSlash

Blog

Stay updated with our latest news, tutorials, and insights

Tutorials WooFood

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
Tutorials WooFood

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
Tutorials WooFood

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
Tutorials WooFood

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
Tutorials WooFood

Disable default WooFood Accordion Caching

The following code snippet will disable the default caching with transient of WooFood accordion shortcode
July 28, 2020
Tutorials WooFood

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
Tutorials WooFood

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
Tutorials WooFood

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
Tutorials WooFood

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
Tutorials WooFood

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
Tutorials WooCommerce

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
Tutorials WooFood

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 2 4 5 6 7