Hello @Cookster Creative,
Our team is currently working on your request and will get back to you shortly.
Best regards,
The 8Theme Team
6 replies2 participantsUpdated by Samir Malik
Hello XStore Support Team,
I am experiencing a serious issue with the Sales Booster → Quantity Discounts (Multibuy) feature on the cart page.
1. Quantity Discount Recalculation Bug
I have the following tiered discounts set:
Buy 2 → 5% off
Buy 3 → 10% off
Buy 4 → 15% off
Here is the problem:
Increasing quantity works correctly and the correct tier discount is applied.
However, when decreasing quantity across tiers, the discounted price does not revert to the correct tier or original price.
Example:
At quantity 5, the discount is correct.
When reducing quantity back to 1, the cart still shows the discounted price (e.g., the 2-item tier) instead of the original price.
The correct price only appears after manually refreshing the page (F5).
2. This is only happening in the XStore AJAX cart
My progress/free-shipping bar (custom-built) always shows the correct total immediately, which confirms the issue is specifically with the XStore cart update logic, not WooCommerce, not caching, and not my bar.
3. Additional Testing
To verify the issue further, I changed the discount intervals (e.g., from 2–4 → 3–4). The bug behaves the same:
When stepping down across discount tiers, the cart keeps the old tier price.
Only a full page refresh recalculates the correct price.
This confirms that the Sales Booster discount logic is not recalculating during XStore’s AJAX quantity update, which causes:
Incorrect subtotal displayed in the cart
Correct price only shown after refresh or at checkout
Confusing price changes for customers between basket → checkout
4. Impact
Customers see one price in the basket and a different one on checkout after recalculation.
This is a critical issue because it directly affects trust and conversions.
5. Request
Please provide a fix or patch so that Sales Booster Quantity Discounts recalculate correctly during AJAX cart quantity updates, especially when decreasing quantity across tiers (e.g., 5 → 1).
This is a core requirement of any multibuy system and is currently not functioning correctly.
I have provided access to our staging application in the private area.
If you need FTP access, I have also left the details there.
In the video attached, please see me decraese quantity from 5 to 1, it shows the incorrect price £3.39, then I refresh the page and it will show £3.99, my shipping bar I created is the same design as the one provided by yourselves and this always shows the correct amount to get to the £25 free shipping.
Thank you, and please treat this as urgent.
Hello @Cookster Creative,
Our team is currently working on your request and will get back to you shortly.
Best regards,
The 8Theme Team
Dear @Cookster Creative,
We have added the following code snippet to your website to force cache purging and ensure the cart content is refreshed:
add_action('wp_footer', function() {
?>
<script>
jQuery(document).ready(function ($){
jQuery(function($) {
// Increase / decrease qty
$(document).on('click', '.woocommerce-mini-cart .quantity .plus, .woocommerce-mini-cart .quantity .minus', function() {
// Always force fragment refresh (for mini-cart/header cart)
setTimeout(function (){
$(document.body).trigger('wc_fragment_refresh');
}, 1000);
});
});
});
</script>
<?php
}, 100);
Could you please check if the off-canvas cart is now functioning correctly?
Thank you for your cooperation.
Best regards,
8Theme Team
Hi,
Issue is partially solved, off canvas cart functions good correct when I add and remove products and so does the main cart partially. See screenshot, the subtotal inline with the product shows correct £3.99, but the subtotal on the right side is still showing £3.39.
For this, I tested adding 5 products and decreasing quantity down to 1, the correct price £3.99 displays in line with product subtotal but still incorect on the right hand side cart totals. The mini cart is working good.
Dear @Cookster Creative,
We have applied the new hotfix (the link is available in the private content area) to your staging website.
Everything should now be functioning properly.
Could you please verify this on your end?
Thank you.
Best regards,
The 8Theme Team
Hi Samir,
I’ve had to disable WPRocket due to it causing too many issues on my site, after disabling it my issues have gone away, including this issue with the subtotal not updating correctly.
Therefore, I do not think I need to add this fix to my live site, as it is currently working as intended.
I apologise for raising this to you, although it may help for others who use WPRocket in the future.
Kind regards,
Matthew
Thanks @Cookster Creative,
Please keep that code snippet in the case you want to use WP Rocket plugin.
Best Regards,
8Theme’s Team
Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Sport StoreSports & travel
(live demo, opens in a new tab)
Medical 02Business
(live demo, opens in a new tab)
Marseille04Fashion
(live demo, opens in a new tab)
Car Parts StoreCars & bikes
(live demo, opens in a new tab)
Pizza StoreFood & drinks
(live demo, opens in a new tab)
Online CoursesBusiness
(live demo, opens in a new tab)
Niche Market 03Marketplace
(live demo, opens in a new tab)
Baby ShopToys & games
(live demo, opens in a new tab)
Ecotransport StoreElectronics
(live demo, opens in a new tab)
Transportation and LogisticsCars & bikes
(live demo, opens in a new tab)
PubFood & drinks
(live demo, opens in a new tab)
CorporateBusiness
(live demo, opens in a new tab)
Minimal StoreFashion
(live demo, opens in a new tab)
Mobile StoreElectronics
(live demo, opens in a new tab)
Concert StoreBooks & art
(live demo, opens in a new tab)
Yoga AccessoriesSports & travel
(live demo, opens in a new tab)