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

    (@mano88)

    Hello @rjhahn ,

    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.

    Thread Starter Roan Bradley

    (@rjhahn)

    Thank you for your prompt reply.

    It looks like the issue is with the theme, The7. When I activated the twentysixteen theme, the cart totals were correct as per the discount table. It seems strange that the theme would be modifying the price and cart totals this way. It’s not as though it is just ignoring the discount price and showing the full price/total.

    Is something you have encountered before? Any suggestions about the cause or a possible fix?

    Plugin Author Hermann LAHAMI

    (@mano88)

    I think the theme might be pulling directly data themeselves and not from woocommerce so the plugins cannot alter the prices. I suggest contacting the theme author and ask them about it. If they’re willing to discuss with us, they can send us an email from our site.

    Thread Starter Roan Bradley

    (@rjhahn)

    Here is the response from the theme author. I had some trouble understanding exactly what they are suggesting the problem is. Any ideas?
    ——————————————————
    HI, we able to reproduce the problem. The problem appears because the cart page has a cart microwidget, which have a standard wocommerce action “woocommerce_before_mini_cart_contents” and this action used by the plugin to apply a discount.

    But plugin applies discount two times, one time when calculating the price on the microwidget and the second time, when calculating price on the cart page itself.

    This does not happening if you will remove a cart microwidget from the header.

    The similar problem you can see on default woocommerce theme “storefront” https://i.imgur.com/00rR1QN.png
    The plugin filters were applied to the cart microwidget two times, which caused an icnorrect product price

    So it seems it is a plugin issue. As a workaround, you can remove a cart widget from the header. In any case, we would suggest contact plugin authors regarding this problem.
    ——————————————————
    I can confirm that when the cart widget is removed, the price is calculated correctly.

    kphageman

    (@kphageman)

    Hello,

    We seem to have the same problem, we’re using the storefront theme. The checkout prices are fine, but the cart prices are subtracted twice, even going into the negative numbers.
    Could this be looked at, please?

    Plugin Author Hermann LAHAMI

    (@mano88)

    Hello, @kphageman @rjhahn please give us few days and we’ll fix it.

    Hello @rjhahn and @kphageman, in order to fix this issue, can we continue on our support : https://discountsuiteforwp.com/

    Plugin Author Hermann LAHAMI

    (@mano88)

    Hello,
    @kphageman @rjhahn Can you test this version and let me know if it works https://drive.google.com/file/d/1f5mimU9pfX57bM0HMhCFgmLJQVUY9Lg8/view?usp=sharing ?

    kphageman

    (@kphageman)

    Hello @mano88

    This did the trick for me, thanks!

    Thread Starter Roan Bradley

    (@rjhahn)

    Awesome, this version fixed the problem!

    Thank you for your excellent support and the quick response time.

    I will be sure to leave you a 5-star review.

    Plugin Author Hermann LAHAMI

    (@mano88)

    @rjhahn Thank you. @kphageman If you liked our plugin and support, don’t forget to leave a review for us ??

    Hello,
    I’m facing the same issue as described above.

    The site is using latest version of plugin [2.10] and ‘The Gem’ theme.
    Please check below images.
    Cart/Checkout page shows negative value: https://ibb.co/8jyP5w5
    Cart widget on any page shows correct value: https://ibb.co/XyVdNvs

    Reference: https://discountsuiteforwp.com/tutorials/create-woocommerce-discount-based-quantity/

    Thanking you in anticipation.

    Plugin Author Hermann LAHAMI

    (@mano88)

    Hello,
    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.

    Hello,
    I don’t think there is a conflict because that happens only on cart page as explained by @kphageman in above comments.

    PS: My bad I mentioned Cart/checkout page shows incorrect amount by mistake. The cost goes incorrect only on cart page.

    Plugin Author Hermann LAHAMI

    (@mano88)

    Yes but we managed to fix @kphageman issue in the last update because we were able to reproduce it. I tried to reproduce yours but i get the right amount everytime.. That’s why I thought about a conflict with another piece of code in another plugin or the theme..

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Cart discount price is incorrect’ is closed to new replies.