Removing a product from compare not in the main language does not work
-
The essence of the problem:
Products added to the comparison list not in the main language cannot be removed
Note.
– These same products can be removed if you switch to the main language
– There is no such problem with the wishlist, the removal works there in any language
– I have Polylang, W3 total cache, Speculative loading and other plugins installed
Important: I have excluded the compare pages and the wishlist from caching. I also have caching disabled for administrators, but the problem persists
Hello,
Thank you so much for purchasing our theme and contacting our support center.
As we can see, your compare page is cached, and that is why it doesn’t work as expected. You need to exclude it from the cache https://gyazo.com/4a5e8fc39e16eb478ff67659e7778905
If you have trouble with this, you need to refer to the cache plugin’s documentation or contact its support for help.
Kind Regards
XTemos Studio
I have disabled the caching plugin one by one:
Page Cache
Database Cache
Object Cache
Browser Cache
And now the caching plugin is completely disabled
The problem persists. So the reason is not in the plugin cache
Please open the source code and scroll to the bottom to see if the page is still cached or not. Send us a screenshot please.
The page is not cached.
Attachments:
You must be
logged in to view attached files.
I also noticed a very strange behavior. It occurs if you refresh the page several times, open the page code in the browser tab by right-clicking and clicking the delete button.
What is really strange: with such actions, after a certain time, the entire comparison block changes to the main language (although the page language is different), where the delete button works.
I attach a video
Could you please send us your admin access so we can check it further?
Did you do anything on the site? I see the deletion started working on the page.
If it wasn’t you, then the additional actions I took helped.
I added this list to the PageSpeed exceptions on my hosting (the hosting says Available characters: a-z 0-9 – . _ / *.) and after a while reset the PageSpeed cache:
*/compare*
*/en/compare*
*/en/wishlist*
*/porivnyannya*
*/ru/spisok-zhelaniy*
*/ru/sravneniye*
*/spisok-zhelaniy*
*/spysok-bazhan*
*/sravneniye*
*/wishlist*
*wp-content/themes/woodmart/**.js
Although, I’m not sure that the server PageSpeed could have had such an impact, especially since I have js optimizations disabled in it, I only have:
insert_dns_prefetch
lazyload_images
collapse_whitespace
convert_meta_tags
recompress_images
resize_images
extend_cache_images
Yes, we have fixed this issue on your website. This fix will be included in our next theme update as well.
Can I already close access to the test account and activate the plugin I need?
Sure, you are free to do this. We close this topic for now.
The topic ‘Removing a product from compare not in the main language does not work’ is closed to new replies.