WPSlash

The WPSlash Blog

Guides, tutorials, and product updates to help you get the most out of WordPress & WooCommerce.

FoodMaster (formerly WooFood) Tutorials

How to Change the Minimum Delivery Amount in the WooCommerce Mini Cart Based on Postal Code

For restaurants and delivery-based businesses, setting different minimum order amounts based on postal codesensures fair pricing and efficient delivery coverage. Some areas may require higher minimum order values due to longer travel distances or operational costs. With WooCommerce and WooFood, you can dynamically update the minimum delivery message in the mini cartbased on the customer’s postal code using a simple PHP function. Why Adjust the Minimum […]
January 22, 2021
FoodMaster (formerly WooFood) Tutorials

ByPass WooFood functionality on Checkout Page for specific products or category

The following example will exclude the products you will specify in $exluded_ids from WooFood functionality If you want to exclude a whole category from WooFood functionality you can use the following code snippet
January 20, 2021
FoodMaster (formerly WooFood) Tutorials

Minimum Order Amount Based on Distance with WooFood

Copy and paste the following snippet inside your functions.php to be able set a minimum order amount based on Distance on Checkout using WooFood .
January 19, 2021
FoodMaster (formerly WooFood) Tutorials

Dynamically Change Average Delivery/Pickup Time Based on Store

The following snippet will help you dynamically change the Average Delivery/Pickup time based on Store ID , so you will be able to set different delivery time for each location . Copy and paste the following snippet to your functions.php and adjust it to your needs You can use also the following snippet to adjust […]
January 18, 2021
FoodMaster (formerly WooFood) Tutorials

Add Custom Message on Availability Checker Response

January 8, 2021
FoodMaster (formerly WooFood) Tutorials

Disable Same Day Orders on WooFood

Copy and paste the following snippet to your functions.php on your child theme to disable Same Day Orders . On the following code you will notice that we are using 2 different filters. One for Delivery and one for Pickup . You can use both of theme or only the one of them if you […]
January 5, 2021
FoodMaster (formerly WooFood) Tutorials

Enable Product Add-ons Ultimate on WooFood Autoprint Software

The following code snippet will enable also to print adding from Product Add-ons Ultimate . Copy and paste the following code snippet into your child theme functions.php
December 23, 2020
Tipping for WooCommerce

Make Tipping Mandatory on Tipping for WooCommerce

December 22, 2020
FoodMaster (formerly WooFood) Tutorials

Block Specific Days by date from Ordering

December 13, 2020
FoodMaster (formerly WooFood) Tutorials

Use Availability Checker on All Pages

User Availability Checker on All Pages
December 8, 2020
FoodMaster (formerly WooFood) Tutorials

Disable Cash On Delivery for Delivery Orders on WooFood

Here is a small code snippet you can add on your site to disable COD for Delivery Orders . You can still able to use COD on Pickup Orders. Just copy and paste the following snippet to your functions.php inside your child theme
December 4, 2020
FoodMaster (formerly WooFood) Tutorials

Trigger your custom JS when Extra Options changing

You copy and paste the following snippet to your functions.php on your child theme. The following code will give an alert() to user when an extra option is checked. Adjust the code to your needs
November 19, 2020
1 2 18 19 20 22 23