Looking for help?
< All Topics
Print

Deactive create customer by default

Deault, create customer selection is active. Some time, you don’t want this, to deactive this selection add this code to your-theme/functions.php or any snippet code plugin. After done, Logout and Login POS again to take effect.



if(!function_exists('custom_pos_default_create_customer'))
{
    function custom_pos_default_create_customer($session_response_data){

       
        $session_response_data['setting']['pos_default_create_customer'] = 'no';
        return $session_response_data;
    }
}
add_filter('op_get_login_cashdrawer_data','custom_pos_default_create_customer',20,1);
Table of Contents