Home › Forums › WoodMart support forum › Product infinite scrolling not working with wp rocket
Product infinite scrolling not working with wp rocket
- This topic has 27 replies, 2 voices, and was last updated 11 months, 2 weeks ago by
Artem Temos.
-
AuthorPosts
-
March 8, 2024 at 10:43 am #547264
Javi24ParticipantHello,
The product’s infinite scrolling button does not work if I use WP Rocket.
Info in the private area.
Thank you
March 8, 2024 at 11:05 am #547279
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.
Thank you in advance
March 8, 2024 at 11:38 am #547298
Javi24ParticipantHello,
The problem looks like Breadcrumbs.
March 8, 2024 at 3:19 pm #547400
Artem TemosKeymasterDo you mean that this problem is caused by the custom code you added to the child theme? In this case, you need to either fix or remove this code. We don’t know why it breaks this functionality on your website.
March 8, 2024 at 3:22 pm #547404
Javi24ParticipantHello,
I removed that code, but the problem is the same. If I turn breadcrumbs on the shop page OFF, then works normally.
March 8, 2024 at 3:22 pm #547405
Javi24ParticipantMarch 8, 2024 at 3:26 pm #547415
Artem TemosKeymasterIt works correctly on your website now. Here is a video https://gyazo.com/73f765e409841183dbf65fd64bbc5a6b
March 8, 2024 at 3:29 pm #547422
Javi24ParticipantNo its not working: https://vimeo.com/921083999/1534bd0993?share=copy
March 8, 2024 at 3:32 pm #547428
Javi24ParticipantIf i add /?nowprocket then works too
March 8, 2024 at 3:42 pm #547439
Javi24ParticipantLooks now working, but i try now with rank math breadcrumbs
March 8, 2024 at 3:50 pm #547441
Javi24ParticipantIf I use rank math breadcrumbs then not work:
https://vimeo.com/921091992/22ff9f138f?share=copy/**
* Rank Math breadcrumbs
*/
function woodmart_current_breadcrumbs( $type ) {
if ( function_exists( ‘rank_math_the_breadcrumbs’ ) ) {
rank_math_the_breadcrumbs();
} else {
$function = ( $type == ‘shop’ ) ? ‘woocommerce_breadcrumb’ : ‘woodmart_breadcrumbs’;
$function();
}
}March 8, 2024 at 5:25 pm #547491
Artem TemosKeymasterAs we can see, it doesn’t work on your website now when you navigate between categories. And there is no code for breadcrumbs. So the issue exists no matter if the code is added or not, right?
March 13, 2024 at 3:27 pm #548834
Javi24ParticipantHello,
The product loading button does not work when the rank math breadcrumbs code is added. This code was once given by your user support. https://prnt.sc/ytWNAyAw1fcm
What would be the correct code to use?
March 13, 2024 at 3:29 pm #548837
Artem TemosKeymasterHello,
Please, remove the code from your website temporarily so we can test how it works without the code.
Kind Regards
March 13, 2024 at 3:32 pm #548838
Javi24ParticipantI send access. there the code has been removed
March 13, 2024 at 5:21 pm #548875
Artem TemosKeymasterAs I can see, it still doesn’t work. Can you please test from your end and confirm that this problem is not related to the code?
March 13, 2024 at 5:51 pm #548884
Javi24ParticipantI send video
March 14, 2024 at 10:22 am #548966
Artem TemosKeymasterTo fix the issue with WP Rocket you need to adjust performance settings as shown on the screenshot https://gyazo.com/adc8818005966964fca16f909a587e85
Unfortunately, we can’t fix the problem with custom code and don’t have a working one that would be compatible with infinite scrolling.March 14, 2024 at 12:26 pm #549018
Javi24ParticipantHello,
Why doesn’t woocommerce breadcrumbs show the previous category on the product page:
https://prnt.sc/wFQVC14KgN2pMarch 14, 2024 at 4:01 pm #549088
Artem TemosKeymasterTo better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.
Regards
March 15, 2024 at 12:20 pm #549281
Javi24ParticipantHello,
TwentyTwenty theme displays the same.
March 15, 2024 at 1:15 pm #549311
Artem TemosKeymasterIn this case, it is not a theme issue. Most likely it is how the WooCommerce plugin works by default.
March 15, 2024 at 3:00 pm #549376
Javi24ParticipantIn short, it is not possible to use Rank Math Breadcrumbs with the Woodmart theme?
March 15, 2024 at 3:15 pm #549380
Artem TemosKeymasterYes, there is no built-in option to use this breadcrumbs in our theme. And this custom solution seems to be not compatible with all our theme features, unfortunately.
March 15, 2024 at 3:54 pm #549407
Javi24ParticipantDoes everything work correctly with the Yoast plugin?
I also had a few more questions:
1. Why product grid style displayed differently in the category page and product grid –
Product grid – https://prnt.sc/8AjABw6nZkUS
Category page – https://prnt.sc/ey17ImNmTuv_
I want to display all like the category page product style.2. How to show in cart page upsell grid smaller – https://prnt.sc/lpCGmMK0OOFq
3. I do not use anymore Loco and WPML, I translate with Woodmart.po files and other plugin translate file. But I can’t find where I translate these words. Before I used Loco then these words were in the Woodmart Child language file. I added this file in theme/ language catalog, but its not working ( https://prnt.sc/c0E1ZbvuRGNM )
https://prnt.sc/jm-BhBrm0t0-4. How to fix fatal error – https://prnt.sc/VaQ4kyFtJz1L
March 15, 2024 at 5:28 pm #549426
Artem TemosKeymasterYes, Yoast breadcrumb will work well with our theme. As for other issues, we kindly ask you to create separate topics so our specialists could help you.
Kind Regards
March 18, 2024 at 10:56 am #549829
Javi24ParticipantHello,
I contacted Rank Math support and they asked me to ask which specific line should you add the breadcrumbs code to display it in the desired position (Page, Category page, product page).
March 18, 2024 at 1:49 pm #549916
Artem TemosKeymasterHello,
We don’t have such code but if you want to customize the breadcrumbs function in our theme you can find it in the file
inc/template-tags/template-tags.php
. PHP function is calledwoodmart_current_breadcrumbs
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register