Looking for help?
< All Topics
Print

set default tax class when add custom item on pos

function custom_pos_custom_item_tax($session_response_data){
    $session_response_data['setting']['pos_custom_item_tax'] =  'standard'; // change to default tax class you want
    return $session_response_data;
}
add_filter('op_get_login_cashdrawer_data','custom_pos_custom_item_tax',12,1); 
Table of Contents