• Resolved fsrabad

    (@fsrabad)


    Hi

    I would like to display always the fee even if the result of the fee is 0. Right now when the fee is 0, doesn’t display the line about the fee.
    How could i do it?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Hi,

    WooCommerce doesn’t display free fees per default. However, you can use this single line of code to make it appear everywhere as fees bigger than zero.

    add_filter( 'woocommerce_get_order_item_totals_excl_free_fees', '__return_false' );

    Code goes in function.php file of your active child theme (or active theme).

    Best regards,
    Karolina

    P.S. If you find my answer and product helpful, please go ahead and leave a 5-star rating to the plugin. Thanks in advance.

Viewing 1 replies (of 1 total)
  • The topic ‘display fee even if it’s zero’ is closed to new replies.