Quantity discount – amount reduction in cart does not return to original full price!

This topic has 14 replies, 3 voices, and was last updated 1 months, 1 weeks ago ago by Jack Richardson

  • Avatar: kikjou
    Martin
    Participant
    April 16, 2025 at 11:48

    Hello,

    I would like to use the “quantity discount” sales booster but ran into this rather critical problem:

    The cart does not revert to the original full price, in case the customer reduces the amount.

    After having added the suggested amount to the cart (and being granted the %-discount), the user can always choose to reduce the amount later in the cart and would buy less pcs for the reduced price.

    The other way around works: When increasing the amount, the cart calculates the quantity discount correctly, however, the reduction of the amount does not bring back the higher prices.

    You can test this for yourself on the staging site. The example prices are taken from this product:
    https://www.pflanzkompass.at/testing_8/?product=brunnera-macrophylla
    Those steps are set up:
    1 pc – € 9,20 (full price)
    3 pcs – 8,74 (-5%)
    10 pcs – 8,46 (-8%)

    Best regards
    Martin

    Please, contact administrator
    for this information.
    13 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 17, 2025 at 15:21

    Hello @Martin,

    We have noticed that your website is utilizing a large number of plugins. This could potentially
    lead to errors, and affect its overall speed. To ensure optimal functionality and avoid such issues, we kindly ask you to manually review each plugin currently in use on your website.

    Let us know the results after you test with only required plugins activated.

    Best regards,
    Jack Richardson
    8Theme’s Team

    Avatar: kikjou
    Martin
    Participant
    April 18, 2025 at 15:44

    Hello Jack,

    I tested it again on the staging site, starting with all plugins OFF, except: elementor (2x), xstore core, woocommerce, wp staging.

    Off the bat I noticed that the cart refresh is as slow as with all plugins on. (Anyway, on the live cart page most of the installed plugins are deactivated using AssetCleanUp plugin)

    The main observation however is the following:

    Setup: 2 intervals, 4-6 (5%) & 7-infinite (8%)

    4 pcs shows correctly € 5.89 (- 5% off), but when reducing to 3 pcs. the 5.89 remain. Only at 2 pcs it reverts to the standard price of 6.20.

    That must be wrong, unless I have misunderstood the logic. Please check with the screenshots. The first interval starts at 4 pcs, meaning 1-3 must have the basic price.

    Going from 7 > 6 pcs. seems to work as intended.

    You can log in to the new staging site https://www.pflanzkompass.at/backup_5/ using the new credentials

    Cart: https://www.pflanzkompass.at/backup_5/?page_id=1542
    Used product for price reference: https://www.pflanzkompass.at/backup_5/?product=chrysanthemum-poesie&attribute_pa_groesse=p1
    5.70 -8%
    5.89 – 5%
    6.20 – basic price

    Please, let’s review it at this stage of testing, before complicating it ahead of time.

    Thank you
    Martin

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 21, 2025 at 08:05

    Dear @Martin,

    We hope this message finds you well.

    Please accept our apologies for the delay in responding. We have reviewed the issue; however, in order to conduct a more thorough investigation on your staging website, we kindly request FTP access.

    Could you please provide us with the necessary FTP credentials at your earliest convenience?

    Thank you for your cooperation.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: kikjou
    Martin
    Participant
    April 21, 2025 at 10:47

    Hello Jack,
    thank you!
    Please find the credentials in the private content area

    Best regards
    Martin

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 22, 2025 at 11:10

    Dear @Martin,

    We would like to inform you that we have applied a hotfix to your website. The modification was made in the following file:

    File path:  
    /wp-content/themes/xstore/framework/features/woocommerce/quantity-discounts.php  
    Lines modified: 394–396

    Code added:

    
    if ($values['quantity'] == 1) {
        $values['et_discount_price'] = $simple_price;
    }
    

    This update should resolve the issue with the quantity discount functionality.

    You may review the changes and test the functionality via the following link:
    https://www.pflanzkompass.at/backup_5/?page_id=1542

    Could you kindly verify if everything is now working as expected?

    Thank you for your cooperation.

    Best regards,
    The 8Theme Team

    Avatar: kikjou
    Martin
    Participant
    April 25, 2025 at 13:36

    Hello,

    I have tested it at the staging site https://www.pflanzkompass.at/backup_5/?page_id=1542
    but it still does not work.

    When I reduce the amount in increments of 1, the issue still occurs at the reduction from 4>3 pcs. The price should change from 5.89 to 6.20 but stays at 5.89 for 3 pcs. It changes only at 3>2. However, when moving upwards 2>3, the 3 pcs. are applied the correct price of 6.20. The price then changes correctly to 5.89 at 3>4 pcs.

    At the next interval (6<>7 pcs) the price changes correctly in both directions.

    Best regards
    Martin

    Avatar: Justin
    Luca Rossi
    Support staff
    April 26, 2025 at 06:02

    Dear @Martin,

    We hope this message finds you well.

    Could you kindly provide us with a video demonstrating the issue you are experiencing?
    For your reference, here is how the functionality appears on our end:
    https://www.awesomescreenshot.com/video/39170220?key=68f2f4e16e04217f85b344dab7472697

    Thank you very much for your cooperation. We look forward to your response.

    Best regards,
    The 8Theme Team

    Avatar: kikjou
    Martin
    Participant
    April 26, 2025 at 11:20

    Hello,

    You need to use the +/- buttons to get the effect.

    My videos are attached. And here is the exact description of the process shown in the video:

    Video 1: 4 to 3 pcs

    – enter 4 pcs.
    – use the (-) button to reduce to 3 pcs.
    > You will find that the price for 3 pcs. is still 20.90, meaning it has NOT changed to the correct base price (22.00)

    Then

    – enter 2 pcs.
    – use (+) to increase to 3 pcs.
    > and you will see the correct base price for 3 pcs. (22.00)

    Video 2: 8 to 3 pcs

    – enter 8 pcs
    – use (-) to reduce to 3 pcs.
    > the price from the 2nd increment is still applied (€ 20.24)

    You can see that at 3 pcs. the cart calculates different prices.

    Best regards
    Martin

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 28, 2025 at 17:14

    Dear @Martin,

    We hope this message finds you well.

    We have dedicated considerable time to addressing the issue and have currently implemented a solution that works correctly on the Cart page. However, please note that this fix does not yet resolve the price calculations in the mini-cart. Further investigation for us is required to identify an optimal solution, if one is possible.

    At this stage, you can verify that increasing or decreasing item quantities on the Cart page functions as expected. Nevertheless, the mini-cart still displays incorrect price calculations.

    The main challenge lies in finding a proper solution that accommodates taxable prices, as configured on your website, which significantly increases the complexity of the task. Despite this, we are committed to continuing our efforts to find a suitable resolution.

    We sincerely apologize for the delay and appreciate your understanding and patience.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: kikjou
    Martin
    Participant
    April 30, 2025 at 08:59

    Hi,

    thank you for also testing the other cart versions!

    I only use the sidebar-cart and found that the exact problem seems to be solved there, too.

    However, when decreasing the amount using the “-“button, it takes 2 attempts for every step until the correct amount is accepted. You can see that in the attached video.
    Increasing the amount does not cause this problem.

    Could you tell me what kind of tax configurations are responsible? I don’t think that I have anything extraordinary, just what is required for the European/German market.

    Thank you so much for your efforts!
    Best regards
    Martin

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 1, 2025 at 11:18

    Dear @Martin,

    We hope this message finds you well.

    We are pleased to introduce our brand-new plugin, SalesMax, designed to help increase sales on your website while offering a variety of powerful and user-friendly features. You can learn more about it here: https://www.8theme.com/salesmax/

    In particular, the issue you mentioned regarding incorrect product pricing when adjusting product quantities will be effectively resolved by implementing the “Buy More, Save More” booster included in the SalesMax plugin.

    We believe you will find many other features within the plugin that will be valuable and beneficial for your website.

    Best regards,
    The 8Theme Team

    Avatar: kikjou
    Martin
    Participant
    May 4, 2025 at 08:39

    Hello,

    thank you for suggesting this plugin, which seems to be quite useful, and I will probably come back to it at some point. However, for now, I would prefer to use the software that I already have, since the needed functionality is already included.

    I have installed 9.4.11 / Core plugin 5.4.11 but could not yet test if the changes have been implemented and to what extent (mini-cart?). In the changelog I found this:

    FIXED: Compatibility issues with WooCommerce Germanized plugin and mini-cart quantity updates in XStore

    Have you noticed what I wrote above about an additional problem (incl. video)?

    However, when decreasing the amount using the “-“button, it takes 2 attempts for every step until the correct amount is accepted. You can see that in the attached video.
    Increasing the amount does not cause this problem.

    Please let me know the current status, thank you

    Best regards
    Martin

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 5, 2025 at 08:26

    Dear @Martin,

    We hope this message finds you well.

    We have reviewed the code of our built-in Quantity Discounts feature; however, we have not yet been able to identify a solution to the issue. Additionally, we have found that attempting to resolve one aspect of the problem may inadvertently cause inaccuracies in other calculations. So, it seems that implementation of such solution for your request will not be possible because it will create other issues. Our theme provides basic functionality for Quantity discounts that covers the most amount of our customers requests but making something specific can make issues for others. For more advanced functionality of boosters our customers install the SalesMax plugin and configurate the settings to make the booster more advanced and make the sales on their shops to increase simultaniously.

    For this reason, we recommended using the plugin, as it has been developed from scratch with an optimized user interface and user experience. Furthermore, it includes configuration options that cannot be implemented within a WordPress theme due to the specific functions and code snippets it utilizes.

    Please note that the changelog item you referred to does not pertain to the issue you mentioned. Instead, it addresses a separate bug related to the incorrect refreshing of prices when using the plugin referenced in that changelog entry. It is not connected to the Quantity Discounts feature.

    Thank you for your understanding.

    Best regards,
    The 8Theme Team

  • Viewing 14 results - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.