WPSlash

Add WooCommerce Product Bundles Compatibility to WooFood

Tuesday October 6, 2020

If you want to make compatible WooCommerce Product Bundles with WooFood, you will have to use the following code snippet

You can copy it inside your functions.php on your child theme and you will enqueue the required javascript and stylesheet from Products bundles to the footer page

function wpslash_woofood_qv_pb_compatibility()
{
	WC_PB()->display->frontend_scripts();

			wp_enqueue_script( 'wc-add-to-cart-bundle' );
			wp_enqueue_style( 'wc-bundle-css' );
}
add_action("wp_footer",  "wpslash_woofood_qv_pb_compatibility");

Leave a Comment

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

Related Articles

Tutorials

How to Add Real-Time Order Tracking and SMS Notifications to Your WooCommerce Restaurant Website

Why Real-Time Order Tracking Matters for Restaurant Websites Think about the last time you ordered food through DoorDash or Uber Eats. You probably watched that little map update in real time, tracking your driver’s every turn. Now think about what happens when you order from a local restaurant’s website and get… silence. Maybe a confirmation […]
April 17, 2026
FoodMaster (formerly WooFood)

How to Build a Smart Allergen Filter and Nutritional Calculator for Your WooCommerce Restaurant Menu

Why Allergen Filtering and Nutritional Transparency Matter More Than Ever A customer with a severe peanut allergy stares at your online menu, trying to figure out which dishes are safe. If they can’t find that information within seconds, they’ll close the tab and order from a competitor who makes it obvious. That scenario plays out […]
April 16, 2026
FoodMaster (formerly WooFood)

How to Build a Custom Restaurant Menu with Allergen Filters, Nutritional Info, and Dietary Labels in WooCommerce: Vegan, Gluten-Free, Keto, and Halal Tags for a Better Customer Experience (Complete Guide)

Why Allergen Information and Dietary Labels Matter for Your Restaurant Website A customer with a severe peanut allergy lands on your restaurant’s online menu. There’s no allergen information anywhere. They leave — and they’re never coming back. That lost sale is just the tip of the iceberg. Without clear dietary labeling, you’re losing revenue, risking […]
April 16, 2026