Forums Forums Search & Filter Pro ajax container and products count

Viewing 10 posts - 111 through 120 (of 122 total)
  • Anonymous
    #142771

    Hi, I would like to update testing environment (bosaacik.sk), to actual plutings/wordpres..
    “Should I stay, or should I go? ” 😀

    Ross Moderator
    #142851

    Haha, pls update, I’m working again locally on the issue 🙂 Just pls allow me to keep access as time to time I will test things on there!

    Thanks

    Ross Moderator
    #144344
    This reply has been marked as private.
    Ross Moderator
    #146531
    This reply has been marked as private.
    Ross Moderator
    #150404
    This reply has been marked as private.
    Anonymous
    #151345

    Hello,

    Firstly, I wish you Happy New Year and all the best in this year.
    Secondly, I’m sorry for my delay.

    I’ve tested all issues from previous posts and it looks, that 1-6 is OK.
    Really thank you for fix: 5) after product variant is sold out, S&F cache need to be rebuild.

    So it looks, that only
    7) don’t know why, but AJAX loading stop works correctly – when I filter products, no products are shown – they are loaded but not visible. I’ve made no change which should affected this feature.
    has remained.

    Also I will need to think up how to deal with 6).

    How can I move S&F from bosaacik.sk (testing site), to my production site ? Will be any new update in near future ?

    Regards,

    Ross Moderator
    #154883
    This reply has been marked as private.
    Ross Moderator
    #156374

    Hi again

    So I tried to solve this issue without having to revert to you but it looks like I may need your help.

    Essentially we need to find out the Javascript that is being used to give your products the masonry / grid type layout.

    What happens is, when you search with S&F, the new results are loaded in with Ajax, but, they are not visible (you can check the html markup).

    What we need to do is, after S&F results are loaded (we have a JS event for this), then we need to run your themes javascript (that handles the display of hte shop).

    If you could contact your theme author to find out, even what library is being used to do this layout then we can do the rest.

    Although, I think your theme author could quite easily give us the exact javascript we need to “re-layout” the shop.

    Then we would add this to your child theme:

    //detects when the ajax request has finished and the content has been updated
    // - add scripts that apply to your results here
    $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
    	console.log("ajax complete");
    	//so add the script from your theme, to do the layout of your products again
    });

    Thanks

    Anonymous
    #157236

    Hi,

    OK, I’ve fixed it. I’ve remembered, that I added this kind of JS sooner. It looks, that it was removed after any of update.
    Now AJAX works properly.

    Is version of S&F installed on bosaacik.sk official one ? How can I migrate it to my production site (bosacik.sk) ? FTP copy ?

    But again, I’ve found difference between count showed in filter and final count of products.
    For example:
    – typ=gumaky (filter shows 8 products, but final filtered products are 7). Archive page (https://bosaacik.sk/eshop/typ/gumaky) shows 8 products.
    – pohlavie=chlapec (filter shows 139, but final filtered products are 127). Archive page (https://bosaacik.sk/eshop/pohlavie/chlapec) shows 139 products.

    Ross Moderator
    #157450

    Hi again

    So lets update the plugin first.

    My recommended course of action is to update S&F via wp-admin plugins page (there is official release now, the one you have is beta),
    Or, via FTP (you can download a new copy from your account) – first disable S&F, replace the files, then enable S&F again.
    After this, I would recommend to rebuild the cache (after this update, you won’t need to rebuild cache when upgrading S&F in the future, its just because we did so much work with WooCommerce).

    Once done, let me know, and if the above is still an issue, I will look again – but actually I think I already have the answer / explanation 🙂

    Thanks

Viewing 10 posts - 111 through 120 (of 122 total)