• sguard

    (@sguard)


    Hello,

    I have been using the free version and have been very impressed. after updating either WP or Woo or even the plugin, I noticed that the subtotal in the cart widget is displaying incorrect amount. The cart page displays the correct amount but cart Widget does not.

    Basically if I have a product set for $249.99 and a $100 Discount. The Cart Widget shows -200 and NOT $149.99.

    Conditional Discounts for Woo 2.12
    WP 5.4
    Woocommerce 4.0.1

    Hoping someone can point me in the right direction as I like the flexibility this plugin offers.

    Thanks in advance!

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

    (@mano88)

    Hello,
    Are you sure it’s not theme related? Can you enable one of the default themes and see if the mini cart has the right total?

    Thread Starter sguard

    (@sguard)

    It is a possibility and I will test it out.

    The reason I did not jump to that conclusion is that if I pick a product that has no discount applied then the cart widget works as expected. Even if a product just uses the standard “Sale Price” in the product then it displays the sale price as the subtotal.

    I will test the theme and reply.

    Thanks

    Thread Starter sguard

    (@sguard)

    I just tested it and it does the same thing on all themes. I tried all of the twenty-*, Storefront, the main Flatsome and child.
    I disabled all plugins except Woo and Discounts.

    during testing I notice that once you add a discounted product the cart momentarily shows the correct values and then switches to the -$200. also it appears that if the discount is $50 then the displayed subtotal is -$100. If the discount is $100 then the displayed subtotal is -$200.

    Thanks

    • This reply was modified 6 years ago by sguard.
    Plugin Author Hermann LAHAMI

    (@mano88)

    Ok we’ll try to reproduce the issue on our end. Can you provide a screenshot of the discount you setup?

    Thread Starter sguard

    (@sguard)

    Here are the screen shots.
    Discount rule
    https://www.dropbox.com/s/3gk5a9jd77bfbja/Discount_Rule.PNG?dl=0

    Product Page looks good.
    https://www.dropbox.com/s/w92d4id72azu6gt/Product_page.PNG?dl=0

    Cart page totals are ok but Widget in top right is wrong.
    https://www.dropbox.com/s/0c3x07njdg8hwzl/Cart_Page1.png?dl=0

    Widget is wrong.
    https://www.dropbox.com/s/966xqzt4xld9r25/Cart_Widget.png?dl=0

    Small update, I installed another vendors discount plugin and activated it. I noticed that your discount rule started to display the correct amount on the widget. But when you hover the subtotal is still wrong on the dropdown.
    https://www.dropbox.com/s/6zeahm12x9bvptc/Cart_Widget_semi-working.png?dl=0

    I did not create any rules in the new vendors plugin at this point. If I deactivate their plugin then your plugin goes back to displaying the wrong subtotal in all locations in the widget. Hope this helps you narrow down the issue.

    I prefer your plugin as it is cleaner and has more logic for discounts. I hope you can resolve the issue.

    Thanks for your help.

    Plugin Author Hermann LAHAMI

    (@mano88)

    Which version of our plugin are you using?

    Thread Starter sguard

    (@sguard)

    Version 2.12

    agostmatos

    (@agostmatos)

    Maybe I’ve the same error.

    I use a %off rule.

    In the mini cart they double the discount when I click the mini cart icon .

    At the product, category and checkout pages all ok.

    Plugin Author Hermann LAHAMI

    (@mano88)

    Hello @agostmatos
    Version 2.12 as well?

    agostmatos

    (@agostmatos)

    Hi there,

    Conditonal Discounts » 2.12
    Woocommerce » 4.0.1
    Wordpress » 5.4
    Template » Envo Ecommerce Pro 1.0.13 (but same problem with other themes).

    Tks

    Plugin Author Hermann LAHAMI

    (@mano88)

    Even with default themes such as storefront or twenty twenty?

    agostmatos

    (@agostmatos)

    Yes, I tried with storefront and twenty twenty.

    TY

    vraghia

    (@vraghia)

    Hi
    i have the same error and i use % discount rules. The product is on -50% discount i added to the cart, the price in minicart was good, on next page reload i get another -50% on the same product in the mini cart

    Conditonal Discounts » 2.12
    Woocommerce » 4.0.1
    i didnt update the wordpress to 5.4
    on Xstore theme

    • This reply was modified 6 years ago by vraghia.
    Plugin Author Hermann LAHAMI

    (@mano88)

    Ok we’re on it.

    nemis

    (@nemis)

    There is problem this problem: double the discount in cart again

    why dont fix this problem?

Viewing 15 replies - 1 through 15 (of 29 total)

The topic ‘Cart Widget is displaying wrong subtotal.’ is closed to new replies.