• Resolved edoardovignati

    (@edoardovignati)


    Hi, I cannot understand why applying a percentage off discount on products, the cart is updated with the discounted price while the mini cart still show the original price and the original subtotal instead of calculating the discounted ones.
    Is there any settings that should be enabled? Do I have to edit something in the code? Here is a screenshot of the problem: Screenshot
    No other discount plugins are active.
    Note: the discount is applied only to logged in users.
    Thank you very much

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Hermann LAHAMI

    (@mano88)

    Hello,
    Can you switch to one of the default woocommerce or wordpress themes and check if the issue persists?

    Plugin Author Hermann LAHAMI

    (@mano88)

    If it does, can you run a quick conflict test by:

    1-disabling all other plugins except woocommerce and our plugin
    2-switching the theme to one of the defaults such as twenty sixteen
    3-and try again. If everything is working as expected, that means we have a conflict somewhere so you can start re enabling the disabled items one by one in order to find the culprit.
    4-once you do, please let us know so we can start the inspection.

    Thanks for the quick reply! 😀
    First of all, your plugin is one of the best and for this, THANK YOU.
    Then, I removed all the other plugins and I put this in my theme mini-cart.php file:
    <?php do_action( 'woocommerce_before_mini_cart_contents' ); ?>
    Basically I tried to understand in my theme what was the difference between /mytheme/woocommerce/cart/cart.php (which was displaying the correct discounted price) and /mytheme/woocommerce/cart/mini-cart.php (which was displaying the wrong price).
    I cannot investigate farther how this fixed the theme I’m running, but it works.
    If I can understand something more I will put here the details.
    Thank you
    Edoardo

    Plugin Author Hermann LAHAMI

    (@mano88)

    Good to know :). Don’t forget to give us a five stars rating here https://wordpress.org/plugins/woo-advanced-discounts/#reviews to show us some love 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mini cart is not updated’ is closed to new replies.