Minicart total fix for YITH WooCommerce Dynamic Pricing and Discounts

Plugin info: YITH WooCommerce Dynamic Pricing and Discounts Premium

In some themes the WooCommerce Minicart Widget has an issue in the calculation of totals, because the discounts in the latest product added in the cart are not showed.

This is a fix that calculates the total after that the plugin applies the discounts. Add this code inside the file functions.php of your theme or child-theme.

 

Leave a comment

Your email address will not be published. Required fields are marked *