Im having same issue as this person: https://www.8theme.com/topic/issue-with-sales-booster-add-ons-quantity-discount-and-progress-bar-bugs/
Sales Booster – Shipping Progress Bar in Basket calculating incorrectly with Multi-Buy Discount
39 replies3 participantsUpdated by Jack Richardson
-
39 Answers
#458222 CopiedHello, Cookster Creative
To ensure you get the best support, we’re escalating your request to another specialist from our team, who will take a closer look at the issue.
They will update you as soon as possible, and we’ll make sure to keep you posted. If you have any additional details that might help, feel free to reply here.
Thank you for your cooperation!
Best Regards,
The 8Theme Team#458230 CopiedHi, I have another issue with the shipping bar this time in my checkout it doesn’t work as good as it could.
I have enabled the option provided by Xstore widget where you can update quantity in checkout of your products, but the shipping progress bar doesn’t update as the product quantity is updated.
The shipping bar will only update when I refresh the page on checkout, it’s not updating live as I increase/decrease product count.ave
Attachment 1: I have 3 in checkout screen, this is correct
Attachment 2: I increased to 4 in checkout screen, shipping progress bar doesn’t update unless refresh page
In the basket page at least the shipping bar was updating somewhat (even though the amount needed to get free shipping is incorrect until you shift f5 refresh page) but in the checkout page it doesn’t update at all until refresh.
This sales booster progress bar addon is marketed as a Cart/Checkout, so I would have expected this to work, please can you assist with this?
Files is visible for topic creator and
support staff only.#458294 CopiedDear @Cookster Creative,
Could you please provide temporary wp-admin access? We need to check your settings.
To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.
Thank you!
#458309 CopiedSent
Please contact administrator
for this information.#458347 CopiedDear @Cookster Creative,
After reviewing your checkout page, we identified several errors in the Console Log: https://prnt.sc/WA3Hd_InLDMZ.
We recommend disabling all third-party plugins that are not included with XStore (https://www.8theme.com/documentation/xstore/plugins/included-plugins/). Once this is done, please clear your browser cache and check the page again. It is possible that one of these additional plugins is causing the issue.
If the problem persists, could you please create a staging site for our testing? You may use the staging feature provided by your hosting service or install this free plugin to create a staging site: https://wordpress.org/plugins/wp-staging/
Best regards,
8Theme Team#458396 CopiedReplied
Please contact administrator
for this information.#458518 CopiedHello @Cookster Creative,
We apologize for the delayed response due to the weekend.
Could you please let us know if there is a way to disable the username and password prompt shown here: https://prnt.sc/GjIlXwclSykl?
It repeatedly requests us to enter the login information.Best regards,
The 8Theme Team#458558 CopiedSorted now.
Please contact administrator
for this information.#458569 CopiedDear @Cookster Creative,
By default, the cart progress bar is calculated only on the cart page.
If you would like it to function on the checkout page as well, please add the following custom code to the functions.php file located in your child theme:
add_action('wp_footer', 'n2t_wp_footer'); function n2t_wp_footer() { ?> <script> (function($) { "use strict"; $(document).on("updated_checkout", function() { let $progressAmount = $(".et-cart-progress-amount"); let subtotalText = jQuery('.product-subtotal .woocommerce-Price-amount').first().text(); let subtotal = subtotalText.replace(/[^0-9.-]+/g, ""); let target = $progressAmount.attr("data-amount"); console.log(subtotal); let decimals = etConfig.woocommerceSettings.cart_progress_num_decimals; let remainingFormatted = ""; let progress = (subtotal / target) * 100; progress = progress.toFixed(3); progress = parseInt(progress); if (progress > 100) progress = 100; $(".et_cart-progress-bar").attr("value", progress); $(".et-cart-progress").attr("data-percent-sold", progress); if (progress < 100) { let remaining = (target - subtotal).toFixed(decimals); let parts = remaining.split("."); // Format thousands if (parts.length > 1 && parts[0].length > 3) { parts[0] = parts[0].substring(0, parts[0].length - 3) + etConfig.woocommerceSettings.cart_progress_thousand_sep + parts[0].substring(parts[0].length - 3); remainingFormatted = parts[0] + etConfig.woocommerceSettings.cart_progress_decimal_sep + parts[1]; } else if (parts[0].length > 3) { remainingFormatted = remaining.substring(0, remaining.length - 3) + etConfig.woocommerceSettings.cart_progress_thousand_sep + remaining.substring(remaining.length - 3); } else { remainingFormatted = remaining; } // Add currency switch (etConfig.woocommerceSettings.cart_progress_currency_pos) { case "left": remainingFormatted = $progressAmount.attr("data-currency") + remainingFormatted; break; case "right": remainingFormatted += $progressAmount.attr("data-currency"); break; case "left_space": remainingFormatted = $progressAmount.attr("data-currency") + " " + remainingFormatted; break; case "right_space": remainingFormatted = remainingFormatted + " " + $progressAmount.attr("data-currency"); break; default: remainingFormatted = $progressAmount.attr("data-currency") + remainingFormatted; } // Output $progressAmount.html(remainingFormatted); $(".et-cart-progress-bar").addClass("in-process"); } else { $(".et-cart-progress-bar").removeClass("in-process"); } }); })(jQuery); </script> <?php }Best regards,
8Theme Team#458608 CopiedThank you it now works in the checkout, but generally across the site can we fix that it doesn’t track multi buy correctly? I have set £25 min spend to get free shipping, but I added 2 of these in my cart with 5% multi buy offer and the shipping bar at top left is not tracking correctly how much more needed to spend to get to £25, the amount and subotal in cart do not make sense.
It is only till I refresh my page where it corrects. The issue with this is in the basket it may tell someone they have qualified for free shipping then clicking basket (which reloads page) then the bar changes to spend £1 more to get free shipping.
This will unfortunately not give a smooth shopping experience, please could you look into this for me? I would really appreciate if this could be resolved somehow. I have atatched a screenshot and you’re welcome to test adding multi quantity of an item and checking bar and refreshing. Thank you!
Files is visible for topic creator and
support staff only.#458636 CopiedHello @Cookster Creative,
Could you please confirm whether the website is currently down on your end as well?
We are unable to access it at the moment.
Best regards,
The 8Theme Team#458714 CopiedHi, everything seems fine on my end.
#458716 CopiedDear Cookster Creative,
We believe that our IP address (171.235.88.118) may have been blocked by your hosting provider.
Could you please assist us by whitelisting this IP address?Thank you for your help.
Best regards,
The 8Theme Team#458832 CopiedHi, you should be able to access now, that’s been whitelisted.
#458834 CopiedHello @Cookster Creative,
We apologize for the delay in our response. We have been investigating the issue on your web-site and providing support to other customers as well. During our review and while working on a solution, we noticed that we are currently unable to access or log in to your staging website. We kindly ask for your assistance in resolving this matter. If you require our IP address, we have included it in the private content.
Additionally, we would appreciate it if you could provide us with FTP access to your staging website, as this would greatly assist us in addressing your request.
We would also like to recommend our plugin, SalesMax, available at https://www.8theme.com/salesmax/. This plugin includes a “Buy More, Save More” feature (among many others) that offers enhanced customization options and an improved UI/UX for websites.
You can find more details in our documentation: https://www.8theme.com/documentation/salesmax/.
Best regards,
Jack Richardson
The 8Theme TeamPlease contact administrator
for this information.#459216 CopiedHi Jack,
I have whitelisted the IP and provided FTP access details in private area.
I dont have an issue with the mutibuy plugins, it;s the fact that the shipping progress bar isn’t displayed correctly until refreshing the page when doing multi buy purchases.
Please contact administrator
for this information.#459271 CopiedAlso Jack, I was doing a free coupon “ozzyrat” as a test and noticed the shipping progress bar was still saying spend ££ to get free shipping. I think it would function better if it notices when a free shipping coupon is used. My main concern at moment is getting it working with the multibuy without needing to refresh the page though.
#459273 CopiedHello @Cookster Creative,
Could you please check how it works when using the default shortcode [woocommerce_cart] (https://prnt.sc/v8LHlLL394zK) instead of the widgets currently in use? For this test, we have created a temporary test page and set it as the cart page in the WooCommerce settings.
It appears that the issue occurs when the progress bar is displayed in a separate area. However, when it is shown in the same area that reloads with the cart items, it functions correctly.
At this stage, we have not yet found a correct solution for the widget-based content. The good news is that the progress bar works better (although some minor bugs remain) with the default shortcode-based layout. Could you please confirm if this approach is acceptable for you?
Sorry, but we do not have a final solution yet and will need additional time to investigate and find one.
Best regards,
Jack Richardson
8Theme Team#459298 CopiedHi Jack,
I do not really want to use shortcode as I spent quite a bit of time styling the element provided with the theme.
The shipping bar does work on the basket, checkout and mini cart but the only issue is with the multibuy, needing to refresh the page to get the correct amount to show. When adding or taking things off the basket it does track how much more to spend to get free shipping etc, but the thing is as soon as you buy 2/3/4 items and the multi-buy kicks in it tracks the wrong amount and then you need to shift f5 for it to then say the correct amount.
#459332 CopiedHello @Cookster Creative,
Could you please clarify where you added the snippet from the following link: https://www.8theme.com/topic/sales-booster-shipping-progress-bar-in-basket-calculating-incorrectly-with-multi-buy-discount/#post-458608? We are currently unable to locate this code and would like to make the necessary modifications.
Additionally, may we update the theme on your website to the latest version?
We apologize for the delay in our response and appreciate your patience as we work to find a global solution.
Best regards,
Jack Richardson
The 8Theme Team#459354 CopiedHi Jack,
It is currently uploaded on the live site, would it help if I pushed the live site through to staging? Or I can just add the snippet on the staging site.
#459364 CopiedHello @Cookster Creative,
Yes, please update the staging website with the same content and snippets as your current live website. This will allow us to review and improve the snippets. Once the issue has been tested and resolved on the staging website, you can then copy the updated snippet to your live website.
Additionally, if possible, please update all plugins and the theme to their latest versions.
Best regards,
Jack Richardson
8Theme Team#459376 CopiedThat’s done see private area for access details
Please contact administrator
for this information.#459383 CopiedHi Jack,
I just realised the checkout shipping bar works properly with the multi-buy offer when you purchase. 2/3/4 of anything. It’s £25 for free shipping, if you test adding 2 or 3 of the same item in basket and checkout you will see the checkout is correct progress amount to get to £25.
#459385 CopiedIf we can get the mini cart and basket progress tracker to work as well as the checkout one then the issue would be solved.
#459386 CopiedHello @Cookster Creative,
We apologize for the delay in resolving this issue. Please rest assured that we have recorded your request, and our team is actively working to identify the source of the problem and determine a suitable solution. This process may take some additional time, but we will notify you as soon as we have found a proper fix.
Best regards,
Jack Richardson
The 8Theme Team#459466 CopiedHello @Cookster Creative,
Could you please check it now? We have improved the previous custom snippet and attached videos of our tests on your Cart and Checkout pages. Kindly verify whether the calculations are now correct.
Best regards,
Jack Richardson
The 8Theme TeamFiles is visible for topic creator and
support staff only.#459549 CopiedHi,
The calculations are now correct on both, however, it does seem that the basket one sometimes seems like its jumping and buffering longer than it needs to before giving the calculation, giving the wrong amount then the right amount after a buffer where it goes blurry and looks like it’s reloading. Whereas the checkout one feels smooth and quick to give you the calculation.
Also, this fix doesn’t seem to apply to the shipping progress bar at the bottom of the mini cart.
I’ve made changes on my live site so won’t want to just simply push the staging changes to live when this is all sorted, can you confirm it will be easy just to either update snippet or give you access to the live site to apply the fixes?
Thanks,
Matthew#459553 Copied
Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.
Similar topics
- Free shipping progress bar not showing on mobile cart.The free shipping bar is not showing on the mobile view, is it also possible to embed it on other places thought the…Solved15 replies
- Move shipping progress bar to top in mini-cartI would like to move the shipping progress bar in the mini cart under the title as per the screenshot. Can I get it done via Code…Solved5 replies
- “Progress bar” for free shipping does not remove other options in cartI activated "Progress bar" for free shipping when a threshold is reached. I set free shipping in Woocommerce with a minimum order…Solved4 replies
- Free shipping progress bar not showing on mobile cart (part 2)The free shipping bar is not showing on the mobile view, I would like it to show up the same as it does on desktop. The way it…Solved4 replies
- Progress bar free shipping is not showing on checkoutProgress bar free shipping is not showing on checkout kickstricker.comSolved3 replies
- system is not calculating free shipping while reaching amount limitThe system is currently not applying free shipping despite the order total meeting the required limit of ₹3000. This issue needs…Solved2 replies















