Forums Forums Search & Filter Pro Customer option to display only in-stock product

  • This topic has 117 replies, 2 voices, and was last updated 6 years ago by Anonymous.
Viewing 10 posts - 21 through 30 (of 118 total)
  • Trevor
    #189173
    This reply has been marked as private.
    Trevor
    #189181
    This reply has been marked as private.
    Trevor
    #189183
    This reply has been marked as private.
    Anonymous
    #189185

    I can see that progress has been made; thank you again for your help with this. Right now, when I select something from the filter, the results aren’t displaying but not sure if that might not be due to my satellite connection to the internet. I’ll be close if you need anything.

    Trevor
    #189187
    This reply has been marked as private.
    Anonymous
    #189189

    heh, yeah, I noticed there are sometimes multiple pages with nothing visible, but my mouse hover tells me there’s a link to click.

    Trevor
    #189191

    I had to add some custom javascript (using a plugin) to reveal the products after ajax refresh:

    (function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        console.log("ajax complete");
        $('.grid_item').css({"opacity" : "1"});
      });
    }(jQuery));

    Does it now work? BTW, I added counts and hid those terms with 0 count (otherwise you risk getting a no results found).

    Anonymous
    #189193

    It’s actually okay that the count does display. I’ve back in forth in my mind about that point, but I think I may actually prefer for the count to be displayed.

    I’m going to move the in-stock checkbox to the top of the filter stack but when I check that, the sold yarns aren’t displayed, but they leave a void where they had been. Also, if I check a base and then a color, the count correctly displays by that color, but all the pages (20) are still generated and the count that displays in the upper left still says something like “Showing 1–48 of 946 results”. For example, if you select Rockshelter Sock and Blues, both display a count of 17 which is probably accurate. However, 20 pages are still created and there are still voids were the sold ones might have been. If that doesn’t make a lot of sense, just press me, and I’ll try to find a way to explain it better.

    Anonymous
    #189195

    I just noticed something else. With Rockshelter Sock + blues checked, I see everything that was categorized under both. If I also check greens, it only displays the single product that utilizes both blues and greens. Do I have AND selected somewhere I need to have OR selected? What I’d like is for for all blues and all greens on Rockshelter Sock to be displayed. Likewise, if I also check Silk Traveler (base), I’d like for all skeins of Silk Traveler and Rockshelter Sock colors that are largely blue or green to display.

    Trevor
    #189197
    This reply has been marked as private.
Viewing 10 posts - 21 through 30 (of 118 total)