Home › Forums › WoodMart support forum › Recently viewed work only on adminpage when connected
Recently viewed work only on adminpage when connected
- This topic has 15 replies, 2 voices, and was last updated 1 year, 1 month ago by Luke Nielsen.
-
AuthorPosts
-
November 12, 2023 at 10:37 pm #511811
liorgab001Participanti added a recently viewed carousel on the product page and i tried it from different 5 devices the recently viewed doesn’t work. the recently viewed only work when i connected to admin panel.
i added my admin panel acces for you to check, the website is backed up and you can make changes.November 13, 2023 at 12:02 pm #511918
Luke NielsenKeymasterHello,
After clearing the cache in the “WP Rocket” plugin, the issue disappeared: https://take.ms/EN81j
Don’t hesitate to let me know if you need any further help or any other info.
Kind Regards
November 13, 2023 at 2:10 pm #511969
liorgab001Participantthat’s work because you was connected to admin panel, try to use new device as I tried. That’s doesn’t work I also tried again on 3 different decides.
November 13, 2023 at 3:06 pm #511982
Luke NielsenKeymasterHello,
Please disable all plugins except these ones:
Elementor or WPBackary
Woodmart Core
WooCommerceIf the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
Kind Regards
November 13, 2023 at 3:38 pm #511995
liorgab001ParticipantThe wp rocket plugin is the one that blocks the visibility of the products. How can you solve the problem without turning off the plugin and without harming the site’s speed performance?
November 13, 2023 at 4:51 pm #512029
Luke NielsenKeymasterHello,
It is just cache, so you need to clear it: https://take.ms/1eG6e
If you have those issues on mobile devices, try to clear the browser cache as well, or you can disable the mobile cache in the WP Rocket settings: https://take.ms/qIs3B , then recheck the issue.
Kind Regards
November 13, 2023 at 5:02 pm #512038
liorgab001Participanti rechecked on new device and that blocking the recently viewed products.
you can go to the website from new device and check it also.
if i will disable the cache thats will damage the speed of the website.November 14, 2023 at 10:44 am #512167
Luke NielsenKeymasterHello,
Please navigate to the settings of the WP Rocket and disable the mobile cache, then recheck the issue.
Thank you for your time.
Kind Regards
November 14, 2023 at 10:46 am #512168
liorgab001ParticipantIf I will disable the mobile cache that’s will damage the website performance.
November 14, 2023 at 10:47 am #512169
liorgab001ParticipantThere is no option to use this feature of “recently viewed” without disable cache?
November 14, 2023 at 1:07 pm #512241
Luke NielsenKeymasterHello,
Please add the below code in Theme Settings -> Custom JS.
(function($) { if ( $('body.single-product').length ) { var ID = $('body.single-product').attr('class').split(' ').filter(function(elClass) { return elClass.search('postid-') + 1; }).join('').replace('postid-', '') if ( typeof Cookies === 'undefined' ) { return; } var productRecently = Cookies.get('woodmart_recently_viewed_products'); if ( productRecently.length ) { productRecently += '|' + ID; } else { productRecently = ID; } Cookies.set('woodmart_recently_viewed_products', productRecently, { expires: 7, path : woodmart_settings.cookie_path, secure : woodmart_settings.cookie_secure_param }); } })(jQuery);
Then recheck the issue.
Kind Regards
November 17, 2023 at 3:44 pm #513214
liorgab001ParticipantThe problem fixed thanks a lot!
Maybe you can help me to fix something else?When I define area and content stretching in Elementor there is a jam at the beginning of the page loading as you can see in the video and the picture, this problem also damages the performance of the site speed (loading time). I checked all your demos and other websites that are built in WOODMART when the area and content is stretched and full width, there is no this problem and it loads straight away stretched.
Attachments:
You must be logged in to view attached files.November 17, 2023 at 3:45 pm #513216
liorgab001ParticipantHere the video
Attachments:
You must be logged in to view attached files.November 17, 2023 at 3:55 pm #513229
Luke NielsenKeymasterHello,
I suggest you use the “Section stretch CSS” functionality in the settings of the “Section” -> [XTemos] Layout.
https://monosnap.com/file/m3jurJT4dM5oYdxP6TG0ilKg8wEBRn
So please disable the “Full-width” option from Elementor and enable our option instead.
Then clear the cache and recheck the issue.
Kind Regards
- This reply was modified 1 year, 1 month ago by Luke Nielsen.
November 17, 2023 at 4:11 pm #513254
liorgab001Participantthat fixed thanks!
November 17, 2023 at 4:31 pm #513268
Luke NielsenKeymasterHello,
You are welcome!
In case you need any additional help, I’d be more than happy to assist you.
Wish you all the best.
Kind Regards
-
AuthorPosts
The topic ‘Recently viewed work only on adminpage when connected’ is closed to new replies.
- You must be logged in to create new topics. Login / Register