• Subject: Bug: Incorrect price calculation in cart on quantity update (AJAX)

    We’ve encountered an issue with the price calculation in the cart when bulk discounts (e.g., discounts starting at 10 units) are involved.

    Steps to reproduce:

    1. Add 10 units of a product to the cart (the discount is applied correctly).
    2. Go to the cart page.
    3. Decrease the quantity from 10 to 9.

    The Issue: After the cart updates via AJAX, the 9 units still show the discounted price instead of switching back to the regular price. However, as soon as you proceed to the checkout page, the total recalculates correctly and shows the proper non-discounted price.

    It seems like the AJAX update on the cart page either caches the previous state or pulls the wrong price variable (potentially the one from the product page that displays what the price would be if they bought 10).

    Is this a known bug, and is there a fix or a specific hook we can use to force a clean re-validation of the cart items on quantity change?

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

Viewing 1 replies (of 1 total)
  • Plugin Support pavithrasivasamy

    (@pavithrasivasamy)

    Hello there,
    Thanks for reaching out to us.

    I understand your issue, for this we will check with our development team. Could you please create a ticket using the link:

    https://www.flycart.org/support

    Once you do, our team can check your setup and provide you with an update.

    We’re happy to help you explore the best solution!

    Best regards,
    Flycart Support Team

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.