Support » Plugin: YITH WooCommerce Wishlist » Products in wishlist displayed without tax

  • My install of WooCommerce is set to display prices inclusive of tax, but prices in the wishlist are being displayed without tax.

    This is a major flaw which urgently needs rectifying.

    🙁

    I was going to give this a 5 star review as it otherwise does everything that I need!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Peter Hardy-vanDoorn

    (@petervandoorn)

    I’ve found the error, and it’s easily fixable.

    In the plugin’s folder you will find a folder called templates and inside that is a file called wishlist.php.

    In to your own theme’s folder, if you don’t already have it, make a folder called woocommerce and copy the file in to there.

    Now, edit the copy of the wishlist.php file and change line 123 from

    { echo apply_filters( 'woocommerce_cart_item_price_html', $wc_price( $product_obj->get_price() ), $values, '' ); }

    to

    { echo apply_filters( 'woocommerce_cart_item_price_html', $wc_price( $product_obj->get_price_including_tax() ), $values, '' ); }

    It’s ok. If I have variations and I want display high price, how do I?? I need put parameter in get_price()??? Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Products in wishlist displayed without tax’ is closed to new replies.