I know other people have seen this issue before.
Sometimes it has been conflicts with theme or other plugins that also have a JavaScript countdown function, but since it works sometimes I don’t think this would be the problem here.
Other times it’s the theme/plugin using AJAX/REST to load part of the page so when it’s rendered the countdown function doesn’t exist.
What is your theme and other WooCommerce related plugins?
If it’s public, what is the URL to the site?
My website: https://uselojasofia.com.br/
My theme: https://themeforest.net/item/cerato-multipurpose-elementor-woocommerce-theme/23323236
Other plugins: https://prnt.sc/s7nj1g
I really appreciate your help. Anything, if you can’t tamper with the code, just give me what I can do to resolve it.
Can you give me a step by step way to reproduce the issue? I just tried adding a couple items to the cart and have not been able to reproduce the issue on your site.
Does the countdown appear to you on the “Finalizar Compra” page?
I just add an item to the cart, open the cart tab, click on “Finalizar Compra” and on this screen there is the warning, but there is no timer.
https://prnt.sc/s7notm
https://prnt.sc/s7nozl (EXPECTED: “Faça sua compra dentro de X Minutes X Seconds para garantir que seus produtos não expirem do carrinho.”
Thanks, those steps help me reproduce the issue.
I don’t know exactly where it is happening but it appears on that page you have multiple jquery.js being loaded. If you look at just the cart page it looks like just the jquery.js from your site is being loaded, but on the “Finalizar Compra” page it is also loading one from https://api.gerencianet.com.br/v1/cdn/jquery.js
The comment right before that points to “WooCommerce Google Analytics Integration” but I’m not certain where that’s coming from.
Can I do anything to solve this? This “api.gerencianet.com.br/v1 /cdn/jquery.js” is a payment method.
Looking through their code it looks like if you disable the “One Step Checkout” it won’t try to forcibly remove the WordPress included jquery.js and substitute their own.
Thank you! It worked! Last question: “Ignore Order Status” is to not remove from the cart while in this status? I didn’t quite understand the functionality.
“Ignore Order Status” will keep the plugin from expiring items in carts that have that order status set. Some of the WooCommerce payment gateways will leave the items in the cart in the pending state while waiting for the payment to be received before actually completing the order.