Looking for help?
< All Topics
Print

Display Subtotal include tax instead excl tax

Some country want show total incl tax on subtotal at cart area. to do this, add this shortcode to yourtheme/functions.php or any snippets code plugin.

function custom_pos_cart_subtotal_incl_tax($session_response_data){
    
    $session_response_data['setting']['pos_cart_subtotal_incl_tax'] = 'yes';
   return $session_response_data;

}
add_filter('op_get_login_cashdrawer_data','custom_pos_cart_subtotal_incl_tax',10,1);

Table of Contents