Home New Guten › Forums › WoodMart support forum › JavaScript
JavaScript
- This topic has 18 replies, 2 voices, and was last updated 3 months, 2 weeks ago by
Luke Nielsen.
-
AuthorPosts
-
May 1, 2025 at 1:26 pm #657772
piotrburchartParticipantCould you please provide the name and link to the JavaScript responsible for the ‘Add to Wishlist’ and ‘Add to Compare’ functions for products, as I need to exclude them from the cache?
Than you,
Piotr
May 1, 2025 at 3:10 pm #657795
Luke NielsenKeymasterHello,
In order to exclude those pages from the cache, you just need to put an appropriate URL like shown here – https://prnt.sc/mpnLU9ga1-nX
Each cache plugin has such an area – https://prnt.sc/d480UxJBpWI8
Kind Regards
May 1, 2025 at 6:25 pm #657847
piotrburchartParticipantHi,
The Wishlist and Compare pages are working correctly. However, nothing happened when I clicked on the archive pages on the compare or Wishlist buttons, as shown in the image.
Piotr
May 1, 2025 at 6:29 pm #657848
piotrburchartParticipantHi, there is no problem with the Wishlist and Compare pages. I cannot add products to the Wishlist or/and Compare by clicking on the appropriate buttons on the archive pages, like on the attached image: https://ibb.co/d0ZccjLM
Thanks
May 2, 2025 at 9:21 am #657906
Luke NielsenKeymasterHello,
Send me access to the admin panel so I can investigate the issue on your end.
Looking forward to collaborating with you!
Kind Regards
May 2, 2025 at 9:42 am #657912
piotrburchartParticipantHi,
Access in the private section.
Thank you
May 2, 2025 at 10:42 am #657931
Luke NielsenKeymasterHello,
Add the below list of exclusions to the cache plugin: – https://prnt.sc/kZh6Zl5tydVq
jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js helpers clickOnScrollButton menuOffsets menuDropdownsAJAX offCanvasCartWidget offCanvasMyAccount mobileNavigation menuClickEvent menuStickyOffsets cart-fragments swiper singleProductGallery js.cookie imagesLoaded ageVerify magnific-popup
Clear the cache and recheck the issue.
Kind Regards
May 2, 2025 at 12:23 pm #657961
piotrburchartParticipantThanks for the quick reply.
Which part is specifically responsible for adding to the Wishlist and Compare? Do I have to use everything you wrote?Thank you
May 2, 2025 at 12:40 pm #657965
Luke NielsenKeymasterYep, everything. Not I see that it works well, here is a video – https://dropmefiles.com.ua/en/yk83
Kind Regards
May 7, 2025 at 1:32 pm #658866
piotrburchartParticipantHi,
I checked, and it works on AJAX tabs but doesn’t work on Archive or Single product pages.
Any idea?Thanks
May 7, 2025 at 4:03 pm #658912
Luke NielsenKeymasterHello,
May I disable 3rd party plugins and enable the parent/default theme for testing?
Looking forward to collaborating with you!
Kind Regards
May 8, 2025 at 3:03 pm #659212
piotrburchartParticipantI appreciate your help, and sorry for the problems. I hope the cache plugin developers fixed the problem!
Please close this ticket.
May 8, 2025 at 4:20 pm #659271
Luke NielsenKeymasterHello,
Are you sure? If you do not mind, I can do the testing so we can investigate it a dig deeper.
Thank you for your time.
Kind Regards
May 8, 2025 at 5:05 pm #659282
piotrburchartParticipantHi, yes, you can check. Thanks
May 8, 2025 at 5:05 pm #659283
piotrburchartParticipantBy saing developers I mean flying press plugin developers.
May 8, 2025 at 5:56 pm #659298
Luke NielsenKeymasterHello,
When these plugins are deactivated – https://prnt.sc/5ZLrsMXQTJTT the add to cart functionality works well – https://prnt.sc/shYwTtIZc1PW
I left them disabled so you can check how it works now.
Kind Regards
May 8, 2025 at 6:07 pm #659303
piotrburchartParticipantHi,
There was no problem adding to the cart; the problem was adding to the Wishlist and Compare. A problem was related to the flyingpress caching plugin
May 8, 2025 at 6:24 pm #659306
piotrburchartParticipantPlease close this ticket, is working fine now.
May 9, 2025 at 8:59 am #659376
Luke NielsenKeymasterHello,
Thank you for your patience as we worked through this issue. I’m glad to hear that the functionality is now working correctly.
If any further assistance is needed, feel free to reach out.
Kind Regards
-
AuthorPosts
The topic ‘JavaScript’ is closed to new replies.
- You must be logged in to create new topics. Login / Register