i have problem with wp-rocket cache that i can’t see successful messages in the frontend (only in the next page I viewed)
Have you contacted the support of the cache plugin?
yes but i need to know from you where is the js that generating the alert messages, file or inline js
Could you provide a screenshot of the mentioned alert?
You can use the Lightshot screenshot tool to take screenshots and share them.
i am talking about the div:
<div class="woocommerce-message" role="alert">
that showing in the bottom of the page (absolute position)
Please provide more detail about the message, for example, when it is shown.
Provide URL of your site, we want to take a closer look at the situation.
see this for example
1 – try to add the maximum qty to the cart
2 – then, add more qty to the cart
3 – you will see the page refresh but nothing happened, the reason is that there is no more qty for this product, so, products not adding to cart and you will not see any message, the DIV “woocommerce-notices-wrapper” empty
4 – if you will go to some other page, the previews message will appear
this happened with any cache plugin, I tried a lot..
i must to know how to exclude this function to pass the cache system
which js file to exclude? or inline js?
Could you, please, provide us with temporary WP Dashboard access? We’ll check if issue is related to theme or to WooCommerce plugin.
it happens with any cache plugin
maybe this happens because the alert feature is using a PHP code that doesn’t run on cached pages dynamically
I suppose it could be related to single product builder. I passed this issue to our developers. I’ll inform you once they find the solution.
this bug make a big problem, customers began to complain that they not getting messages after actions
* your development team make for me in the past a bug fixing in the product builder, maybe this issue related to this bug https://www.8theme.com/topic/multiple-headers-translating-doesnt-work/#post-261874
Take our big apologies for this delay.
We found that if you disable AJAX Add To Cart For Simple And Variable Products option (Theme Options > WooCommerce > Single product builder > Add to cart > AJAX Add To Cart For Simple And Variable Products > off ) then an alert appears. So, disable that option because we can’t find solution to make that notification appear with the cache plugin and Ajax add to cart.
look, this is a very big bug issue in this template,
it’s not happened with adding to cart actions only, it’s happened with every action that needs to show some alert message, for example with my “back to stock” plugin (see here https://ecostore.co.il/exam2.webm) and there is more…
i need from your technical team to give me the exact details about the js commands and js files that making the alert messages in this theme and I will try to exclude them from caching in the setting.
i have never seen this kind of issue with other themes and caches plugins over my 13 years of WordPress experience, this is something that should fix
maybe to completely disable the ajax messages in this theme, even if it should need to do something directly in the code…
To disable Ajax messages you need to disable Ajax add to cart on the single product page.
Theme Options > WooCommerce > Single product builder > Add to cart > AJAX Add To Cart For Simple And Variable Products > disable this option. Check the product after that.
it’s not helping in other actions, the problem isn’t only with add to cart button please see this new video
it happened with every alert message in the website
Our theme does not generate these notices. WooCommerce plugin generates notices.
We just make them fixed with this option https://prnt.sc/100uj0w I have disabled it. Check single product now.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.