Home Forums WoodMart support forum Products in products block not displaying labels after “load more”

Products in products block not displaying labels after “load more”

Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #446675

    wildguitars
    Participant

    Greetings Xtemos team!
    Please visit the link in the private content.
    You will see that there is a “Products (grid or carousel) block with products sorted by publish date and displaying of 40 items per page.
    When scrolling down to load more items, the items that are loaded do not have any of our website’s labels that are created through the BeRocket Woocommerce Advanced Product Labels plugin.
    I reached out to the plugin developer and they said that it’s not related to their plugin.

    Please let me know if there is a solution for this issue.

    Thanks,
    Tom

    #446731

    Artem Temos
    Keymaster

    Hello,

    It looks like this plugin doesn’t work when the content is loaded dynamically using AJAX. Sorry, but we can’t do anything in our theme to fix this. You need to either disable AJAX shop option or consult with the plugin developers for help.

    Kind Regards

    #446774

    wildguitars
    Participant

    Thank you for the prompt reply, Artem.
    In the meantime I have changed the number of products in this block from 40 items to 200 items.

    This is what the plugin developer replied:

    It seems load more functionality use some custom template for second page, that do not use WooCommerce hooks.

    You can try to disable this load more functionality and try to use some plugin that provide same functionality, but depend on default WooCommerce template.

    #446795

    Artem Temos
    Keymaster

    It uses the same set of hooks as on the first page. Could you please clarify what hook is missing there?

    #447404

    wildguitars
    Participant

    The plugin developer wrote:
    What hook plugin use depend on settings, because it can be changed in plugin settings -> Advanced tab.

    I have included a link to the settings page in the private content.

    #447615

    Artem Temos
    Keymaster

    Hello,

    The hook is used in our theme since these labels are displayed on the first page. But the problem is that this plugin doesn’t use this hook in the content which is loaded with AJAX.

    Kind Regards

    #447617

    wildguitars
    Participant

    Thanks Artem, I will share your reply with the plugin developer.

    #447731

    wildguitars
    Participant

    His reply:

    Hello,

    Checked our plugin. It is use init hook to add labels to all selected hooks in settings, and it seems also must work on AJAX load.

    Regards,
    Oleg

    #447744

    Artem Temos
    Keymaster

    The ‘init’ hook works in AJAX load so the issue is not about that particular hook. Maybe the code that adds this hook actually doesn’t work in the AJAX request also.

    #448388

    wildguitars
    Participant

    Here is the developer’s latest reply:

    Hello,

    Checked our plugin. It is use init hook to add labels to all selected hooks in settings, and it seems also must work on AJAX load.

    Regards,
    Oleg

    #448558

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin and FTP access so we can check it?

    Thank you in advance

    #448672

    wildguitars
    Participant

    Please see the login details for our staging website.

    I have disabled all the plugins except for those that are related to your theme, and the labels plugin.

    #448677

    Artem Temos
    Keymaster

    Please, send us your FTP access as well. Thank you in advance.

    #448805

    wildguitars
    Participant

    Sorry about that, here you go.

    #448902

    Artem Temos
    Keymaster

    Sorry, but the FTP seems to be wrong and we could not access your server. Here is a screenshot https://gyazo.com/05c8cdae2e45184458414ba13c8cc0cc

    #449234

    wildguitars
    Participant

    Apologies again, please try the below credentials.

    #449260

    Artem Temos
    Keymaster

    Hello,

    We are sorry to say, that we still can’t access your server. Here is a screenshot https://gyazo.com/f18f621b08ff84593572cfea280d4d08

    Kind Regards

    #449356

    wildguitars
    Participant

    Your IP address must be blocked. Do you have a static IP address that you can provide me? I will have our web hosting company whitelist it.

    #449366

    Artem Temos
    Keymaster

    Sure, here is my IP

    #449461

    wildguitars
    Participant

    Please try again

    #449576

    Artem Temos
    Keymaster

    Hello,

    We tried to troubleshoot this plugin’s code but can’t understand how it works, unfortunately. As we can see, all of the required hooks exist in our theme. So we still think that the plugin doesn’t run its code when the AJAX request is made. Sorry, but we can’t find a solution. If the plugin developer could check this from its end and let us know what might be wrong in the theme, we will help you to fix this.

    Kind Regards

    #449983

    wildguitars
    Participant

    I truly appreciate your efforts and will let you know once I hear back from the plugin developer.

    Have a great weekend
    Tom

    #450005

    Artem Temos
    Keymaster

    Thank you! Feel free to contact us if you have any further questions.

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