Home › Forums › WoodMart support forum › “Products (grid or carousel)” “recently viewed” issue (WP Rocket cache)
“Products (grid or carousel)” “recently viewed” issue (WP Rocket cache)
- This topic has 11 replies, 2 voices, and was last updated 2 years ago by
Artem Temos.
-
AuthorPosts
-
March 27, 2023 at 7:20 pm #454548
hamster2116ParticipantHello dear team,
I recently started using WP Rocket on my site and since then the recently viewed element is no longer showing. It only shows to logged-in users. If someone is not logged in, they do not see it.
I have also tried getting this add-on https://docs.wp-rocket.me/article/852-making-wp-rocket-work-with-woocommerce-recently-viewed-products-widget
But it’s not working.I have built a layout for single product with the “Products (grid or carousel)” element and choose recently viewed data source.
I also enabled AJAX on page load.Could you kindly look into this?
I checked your WP Rocket guide and could not figure out what the problem is.
Thank you.
Attached some screenshots from settings
Attachments:
You must be logged in to view attached files.March 28, 2023 at 9:21 am #454678
Artem TemosKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builderThank you in advance
March 29, 2023 at 6:20 pm #455250
hamster2116ParticipantHi
I deactivated all plugins except theme related.My recently viewed products carousel unfortunately does not work.
-
This reply was modified 2 years, 1 month ago by
hamster2116. Reason: typo
March 30, 2023 at 9:27 am #455427
Artem TemosKeymasterCould you please disable these plugins temporarily also? https://gyazo.com/28936bfedce9a695fd21b1470e2889c6
Note that we don’t see the recently viewed products now, and the WP Rocket is currently disabled. So this issue is not related to the WP Rocket plugin.April 4, 2023 at 7:30 pm #457202
hamster2116Participant“CDN cache” is cloudflare cache. I can’t disable this MU plugin but disabled CF cache via htaccess.
“CMPLZ delay cookie” is an add-on plugin for my cookie management system complianz, and since complianz is deactivated, this plugin is currently not working.
So as you requested all unrelated plugins are in fact disabled.
For some reason recently viewed is not working.
Please advise. Thanks a lot in advance.
April 5, 2023 at 9:40 am #457328
Artem TemosKeymasterHello,
As we can see, the cookie that stores recently viewed products is missing on your website completely. So it must be affected by some cookie- or cache-related plugins/services on your website.
Kind Regards
April 5, 2023 at 6:37 pm #457579
hamster2116ParticipantI will have to investigate this further…
Please can you tell me what is the difference between woocommerce_recently_viewed and woodmart_recently_viewed cookie? When I scan the site for cookies, I can only find woodmart_recently_viewed
April 6, 2023 at 9:21 am #457701
Artem TemosKeymasterHello,
woocommerce_recently_viewed
cookie is related to the WooCommerce widget for recently viewed products. And thewoodmart_recently_viewed
works for our theme’s widget.Kind Regards
April 6, 2023 at 11:16 am #457748
hamster2116ParticipantIf I use your product carousel widget in my custom layout (not woocommerce widget) and set product source to recently viewed, which cookie is used – woodmart_recently_viewed?
And you said that the cookie is missing from the website?April 6, 2023 at 12:33 pm #457762
Artem TemosKeymasterYes, our theme uses the
woodmart_recently_viewed
cookie in this case. And it seems to be missing on your website.Kind Regards
April 6, 2023 at 8:03 pm #457936
hamster2116ParticipantHi, I was able to fix the issue: the host whitelisted the woodmart woodmart_recently_viewed cookie in their custom cache settings and it works now! Thanks for your help.
April 7, 2023 at 10:27 am #458068
Artem TemosKeymasterGreat, we are glad that you sorted it out! Feel free to contact us if you have any further questions.
Kind Regards
-
This reply was modified 2 years, 1 month ago by
-
AuthorPosts
The topic ‘“Products (grid or carousel)” “recently viewed” issue (WP Rocket cache)’ is closed to new replies.
- You must be logged in to create new topics. Login / Register