Trigger AJAX Popup on the whole product element click 1
The below article is for WooFood , Food Ordering Plugin for WordPress and WooCommerce. If you don't already have it . Please take a look on the product page

The following code snippet will make popup opening without having to click on the “Select” button, will actually make the whole product wrapper clickable.

Copy and paste the following code to your functions.php under your child theme

add_action("wp_footer", "wpslash_woofood_hook_trigger_click_wrapper");

function wpslash_woofood_hook_trigger_click_wrapper()

    <script type="text/javascript">



                  jQuery(document).on('click', '.woofood-product-loop' , function(e)



The above article is for WooFood Food Delivery Plugin for WooCommerce