Looking for help?
< All Topics
Print

Restaurant: How to change grid size of product / category in QRcode table login

Use this shortcode and customize on yourtheme/functions.php or any code snippets plugin

function custom_op_get_guest_login_session_data($session_data){
    $session_data['setting']['pos_product_grid_column'] = 1;//change by your self
    $session_data['setting']['pos_product_grid_row'] = 4; //change by your self

    $session_data['setting']['pos_cat_grid_column'] = 1;//change by your self
    $session_data['setting']['pos_cat_grid_row'] = 4;//change by your self

    return $session_data;
}
add_filter('op_get_guest_login_session_data','custom_op_get_guest_login_session_data',20,1);
Table of Contents