Home Forums WoodMart support forum Product infinite scrolling not working with wp rocket

Product infinite scrolling not working with wp rocket

Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #547264

    Javi24
    Participant

    Hello,

    The product’s infinite scrolling button does not work if I use WP Rocket.

    Info in the private area.

    Thank you

    #547279

    Artem Temos
    Keymaster

    Hello,

    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

    #547298

    Javi24
    Participant

    Hello,

    The problem looks like Breadcrumbs.

    #547400

    Artem Temos
    Keymaster

    Do 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.

    #547404

    Javi24
    Participant

    Hello,

    I removed that code, but the problem is the same. If I turn breadcrumbs on the shop page OFF, then works normally.

    #547405

    Javi24
    Participant
    #547415

    Artem Temos
    Keymaster

    It works correctly on your website now. Here is a video https://gyazo.com/73f765e409841183dbf65fd64bbc5a6b

    #547422

    Javi24
    Participant
    #547428

    Javi24
    Participant

    If i add /?nowprocket then works too

    https://vimeo.com/921085155/151f504cc6?share=copy

    #547439

    Javi24
    Participant

    Looks now working, but i try now with rank math breadcrumbs

    #547441

    Javi24
    Participant

    If 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();
    }
    }

    #547491

    Artem Temos
    Keymaster

    As 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?

    #548834

    Javi24
    Participant

    Hello,

    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?

    #548837

    Artem Temos
    Keymaster

    Hello,

    Please, remove the code from your website temporarily so we can test how it works without the code.

    Kind Regards

    #548838

    Javi24
    Participant

    I send access. there the code has been removed

    #548875

    Artem Temos
    Keymaster

    As 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?

    #548884

    Javi24
    Participant

    I send video

    #548966

    Artem Temos
    Keymaster

    To 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.

    #549018

    Javi24
    Participant

    Hello,

    Why doesn’t woocommerce breadcrumbs show the previous category on the product page:
    https://prnt.sc/wFQVC14KgN2p

    #549088

    Artem Temos
    Keymaster

    To 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

    #549281

    Javi24
    Participant

    Hello,

    TwentyTwenty theme displays the same.

    #549311

    Artem Temos
    Keymaster

    In this case, it is not a theme issue. Most likely it is how the WooCommerce plugin works by default.

    #549376

    Javi24
    Participant

    In short, it is not possible to use Rank Math Breadcrumbs with the Woodmart theme?

    #549380

    Artem Temos
    Keymaster

    Yes, 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.

    #549407

    Javi24
    Participant

    Does 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

    #549426

    Artem Temos
    Keymaster

    Yes, 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

    #549829

    Javi24
    Participant

    Hello,

    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).

    #549916

    Artem Temos
    Keymaster

    Hello,

    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 called woodmart_current_breadcrumbs

    Kind Regards

Viewing 28 posts - 1 through 28 (of 28 total)