WPSlash

WooFood AJAX Popup Compatibility Mode

Wednesday September 9, 2020

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

  add_action('woofood_quickview_product_content', function() { 

	remove_action( 'woofood_quickview_product_content', 'woocommerce_template_single_rating', 10 );
    remove_action( 'woofood_quickview_product_content', 'woocommerce_template_single_price', 15 );
    remove_action( 'woofood_quickview_product_content', 'woocommerce_template_single_excerpt', 20 );
    remove_action( 'woofood_quickview_product_content', 'woocommerce_template_single_add_to_cart', 25 );

    	do_action("woocommerce_single_product_summary");

    	 });

Leave a Comment

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

×

🔥 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: