• Resolved efox

    (@foxylearning)


    I’d like to list “sales tax” with a “not yet calculated” notice on the “cart totals” and “order reviews” sections of the cart and checkout when appropriate (e.g., for guest users or users who have not entered a billing address yet). Is there a hook that would allow this? Or can this be added as a feature to the plugin?

Viewing 1 replies (of 1 total)
  • Plugin Author Brett Porcelli

    (@bporcelli)

    With the legacy cart and checkout, there are filters that should let you do this. You can use:

    • woocommerce_cart_tax_totals if you’re using itemized tax total display. Change the formatted_amount for the tax line to “not yet calculated” when appropriate.
    • woocommerce_cart_totals_taxes_total_html if you’re using non-itemized tax total display. Same idea where you change the output to “not yet calculated” when appropriate.

    The new block based cart and checkout – which will be the default for all new Woo installs moving forward – isn’t flexible enough to allow this, so I probably won’t support this as a feature in the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Display “not yet calculated” notice on cart and checkout’ is closed to new replies.