Resolved“Add to Wishlist” not shown for products loaded using ajax
- This topic has 9 replies, 2 voices, and was last updated 2 years ago by
Darko.
- AuthorPosts
- March 19, 2021 at 10:53 am #29575
Darko
ParticipantHi,
I just noticed that the “Add to Wishlist” icon is not shown for the products loaded with ajax (Infinity scroll). Please check the video for more details.
https://drive.google.com/file/d/1A69_cdH89VE4SPquif_d8lOQtBiR9r4D/view?usp=sharing
March 22, 2021 at 11:01 am #29597Althemist
KeymasterHi Darko,
It works absolutely fine on our end. Unfortunately, we can’t just guess what could be wrong on your site by looking at a video. Please, provide a working link to your site, so we can check the problem “live”.
March 22, 2021 at 11:16 am #29605Darko
ParticipantHi,
Here is the link where you can check the issue.
https://toddiz.com/product-category/baby-clothing/
Thanks.
March 22, 2021 at 11:31 am #29609Althemist
KeymasterThat’s really strange. It works absolutely fine on our servers with the latest theme version and latest versions of all plugins (including BabyStreet plugin, WooCommerce, YITH Wishlist and WordPress itself).
Check if everything is up to date on your site. If the problem persist after that, check if you have some server level cache enabled.
March 23, 2021 at 10:49 am #29623Darko
ParticipantThis reply has been marked as private.March 24, 2021 at 8:54 am #29631Althemist
KeymasterThe Siteground cache system is highly not recommended for sites running on WooCommerce, but for different reasons. We are on Siteground too and I can tell from personal experience that’s it’s not OK for WooCommerce.
However, this can NOT be the reason for the missing wishlsit button.
If you give us temporary admin access to your site, we can try to investigate what could be causing the problem.
March 25, 2021 at 10:46 am #29670Darko
ParticipantThis reply has been marked as private.March 26, 2021 at 2:22 pm #29687Althemist
KeymasterHi Darko,
I have just checked your website. I can see you have a lot of third-party plugins and conflict with one of them is most probably the reason. I’d suggest trying with WP Security first, but could be anotehr WooCommerce related plugin too.
As for SiteGround, their server level caching just doesn’t take WooCommerce specifics into account – e.g. it automatically caches cart and account pages, checkout etc. There are parts of the site that must always stay dynamic, and the dynamic nginx caching should ignore them, but it’s not. Also, there are some problems if you use their “fast PHP” option. I’d suggest sticking with PHP 7.4.
As I already said, we are with SiteGround too (a cloud VPS account). It’s great and we would never change it, but greatness comes with some limitations. We never use their own server level caching, as it’s too aggressive.
March 27, 2021 at 11:49 am #29701Darko
ParticipantThis reply has been marked as private.March 27, 2021 at 11:59 am #29702Darko
ParticipantOk, I found what was the issue, in the YITH Wishlist Settings there is setting “Enable AJAX loading” which was set to “Yes”, since the theme is using AJAX loading, but for some reason, I need to set this setting to “No” to have the wishlist option in the ajax loading products, very confusing setting but at least it is working now. Thanks for your effort and checking the issue.
- AuthorPosts
You must be logged in and have valid license to reply to this topic.