<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>The WC_Cart-&gt;tax_display_cart argument is deprecated since version 4.4.

Replies: 1

Hi,

I just found a bug and my log is full of warnings.
Please replace the

if ( $cart_object->tax_display_cart === 'incl' ) {

to

if (  ( version_compare( WC_VERSION, '4.4', '<' ) ) ? $cart_object->tax_display_cart === 'incl' : $cart_object->get_tax_price_display_mode() === 'incl' ) {

in the woo-combo-offers.php:1038.

Best regards,
Estal

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer