• Hello, I searched your settings to define a different tax rate than the default to the cod fee, but I didn’t find anything. So I check the code to find some workaround.

    So I noticed that the add_fee function on class-wc-smart-cod-public.php:431 is missing the 4th argument about tax_class. Doc: add_fee.

    Could you add a setting to select the cod tax class or at least a filter like the one following so we can hook and modify the default “” value?

    $woocommerce->cart->add_fee( apply_filters( 'wc_smart_cod_fee_title', __( 'Cash on delivery', 'woocommerce' ) ), $extra_fee, $has_tax, apply_filters('wc_smart_cod_fee_tax_class', '' ) );

    It’s crazy that I can’t change tax class.

    Thanks

    • This topic was modified 2 years, 11 months ago by Theo Gkitsos.
    • This topic was modified 2 years, 11 months ago by Theo Gkitsos.
  • The topic ‘Can’t select tax class on fee tax calculation’ is closed to new replies.