How to Use WooFood for Table Ordering

If you are thinking to use WooFood for in-table ordering here is a small code snippet that will get automatically get the table number .

The below code can be added on functions.php of your child theme.

With the below code you can set the parameter table to the table number like

add_action( 'wp_head', 'wpslash_custom_check_for_table_param' );

function wpslash_custom_check_for_table_param() {
	global $woocommerce;
     if( isset( $_GET['table'] ) ) {

wc_add_notice('Scan QR Code to continue ordering', 'error' );