Add WooCommerce Product Bundles Compatibility to WooFood

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…

1 min read

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");

Commission-free ordering

Run restaurant orders on your own WordPress site

FoodMaster adds delivery, pickup, dine-in, POS, and kitchen tools — with zero per-order fees.

Get FoodMaster

Leave a Comment

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