When Infinite Scroll is used on Woocommerce products page (next "page" is fetched asynchronously via AJAX), the Quick View button is not working. I believe product's properties aren't filled in correctly when the product is fetched asynchronously.
I have realized that this is not working because the Infinity Scroll is not handled by Oxygen.
Can you please share your WP credentials here, because I need to login to your site and test this issue. Your information is safe here (private) in this thread.
To include your credentials click Insert Credentials button in editor toolbar. (See how)
What was the fix so I can know not to screw it up with some update or upgrade? I'm a web developer, so technical terms are OK.
P.S. Sorry about the Croatian language in user interface. When opening your account, I've set it to English, but haven't checked if it was actually applied.
And thank you for the clarification of the fix, that's great. Will it be retained in future Oxygen versions or do I need to apply it after every update? If so, please send the source so I don't have to retype it from a photo :-)
Will it be retained in future Oxygen versions or do I need to apply it after every update?Sure, it will be part of new Oxygen version. If you have other Oxygen theme installed and have the same problem you can replace the oxygen-custom.min.js in assets/js/ directory by downloading (then extracting) it here.
Regarding your other issue:
URL https://hibourg.com/finestvari/wp-admin/admin-ajax.php?_fs_blog_admin=true is broken. Does it have something to do with the fix? This is not part of our theme. In admin-ajax.php the requests that get returned 0 it means it wasn't executed. This is default behavior of WordPress. For example the same URL will provide different results if user is logged in and then return 0 when user is not logged in as an administrator. That depends on the implementation of AJAX request, so no worries about that.
Hi,
When Infinite Scroll is used on Woocommerce products page (next "page" is fetched asynchronously via AJAX), the Quick View button is not working. I believe product's properties aren't filled in correctly when the product is fetched asynchronously.
Thx,
Tom
Hi Tom,
I have realized that this is not working because the Infinity Scroll is not handled by Oxygen.
Can you please share your WP credentials here, because I need to login to your site and test this issue. Your information is safe here (private) in this thread.
To include your credentials click Insert Credentials button in editor toolbar. (See how)
Hi hibourg,
I have fixed this issue which was related to our theme and applied the fix in your site as well:
https://d.pr/v/xcTTCd
I hope you like.
Wow, thank you.
What was the fix so I can know not to screw it up with some update or upgrade? I'm a web developer, so technical terms are OK.
P.S. Sorry about the Croatian language in user interface. When opening your account, I've set it to English, but haven't checked if it was actually applied.
Tom
I am glad that it worked as you expected.
Sure I will let you know what I have changed. However, since the oxygen-custom.min.js is minified I can tell you that only this file was changed:
Or if you want to learn more what exactly I did here is the code:(view large image)
If you want I can send you the original JS (source files).
I have received an email from the system saying that URL https://hibourg.com/finestvari/wp-admin/admin-ajax.php?_fs_blog_admin=true is broken. Does it have something to do with the fix? The page shows "0" as only result. Was that some kind of test that WP picked up as an error?
And thank you for the clarification of the fix, that's great. Will it be retained in future Oxygen versions or do I need to apply it after every update? If so, please send the source so I don't have to retype it from a photo :-)
Tom
Hello Tom,
As for your question
Will it be retained in future Oxygen versions or do I need to apply it after every update?Sure, it will be part of new Oxygen version. If you have other Oxygen theme installed and have the same problem you can replace the oxygen-custom.min.js in assets/js/ directory by downloading (then extracting) it here.Regarding your other issue:
URL https://hibourg.com/finestvari/wp-admin/admin-ajax.php?_fs_blog_admin=true is broken. Does it have something to do with the fix?This is not part of our theme. In admin-ajax.php the requests that get returned 0 it means it wasn't executed. This is default behavior of WordPress. For example the same URL will provide different results if user is logged in and then return 0 when user is not logged in as an administrator. That depends on the implementation of AJAX request, so no worries about that.
Arlind, thank you very much for the clarifications. This is solved and can be closed.
Happy to hear that
Have a nice day!
Will set this ticket as solved from here.
P.S: If you like the theme, it would help us a lot if you could give us a five-star rating on Themeforest from your Downloads tab.
A huge thank you from me and Laborator in advance.