WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Show Total including TAX on mini-cart (1 post)

  1. r1987
    Member
    Posted 11 months ago #

    I have enabled the Taxes and Tax calculations on WooCommerce and displaying prices excluding tax on cart/checkout, to be able to show the tax line on the invoices and on printable invoices. I'm also using the woocommerce-delivery-notes plugin to be able to print out the invoices as pdf or on the printer for the bookkeeper, where the tax line is important.

    The problem with this is that when you have excluding tax on cart/checkout enabled, it shows the prices on the minicart without the tax and this can be a bit confusing for the buyer, seeing that some stuff will be added in the checkout.

    My question is, is it possible to show the Total: on the mini-cart including tax? In mini-cart.php , line 35 is this:

    $product_price = get_option( 'woocommerce_tax_display_cart' ) == 'excl' ? $_product->get_price_excluding_tax() : $_product->get_price_including_tax();

    As I understand, this gets the option from the admin is it on or of and by that shows the price. But does someone now how to change this to show price including tax?

    http://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic