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 - 61 through 70 (of 118 total)
  • Anonymous
    #189690
    This reply has been marked as private.
    Anonymous
    #189722

    Heard back from Ben:

    I suggest adding this css:

    #topbar-search form {
    border: 1px solid #999;
    }
    #topbar-search .search-icon {
    color: #444;
    }
    #topbar-search .form-search ::-webkit-input-placeholder {
    color: #555;
    }
    #topbar-search .form-search ::-moz-placeholder {
    color: #555;
    }
    #topbar-search .form-search :-ms-input-placeholder {
    color: #555;
    }
    The search form file is searchform.php. It’s in the main folder of the theme.

    Here is how you can re-load isotope on an event:

    $(window).on(‘customEvent’, function( event ) {
    var $container = $(‘.reinit-isotope’),
    iso_selector = $(‘.reinit-isotope’).data(‘iso-selector’);
    $container.isotopeb({masonry: {columnWidth: iso_selector}, transitionDuration: ‘0s’});
    });
    If you can tell me what event the plugin uses on a filter I can get you exactly what you need. Also, you could use a different search output that doesn’t use a grid if you like. That is controlled in your theme options > misc settings.

    In a second response, he wrote:

    Just thought of this. You don’t have to use the normal search. You can add any widget or shortcode into your topbar so if you don’t want to override files you can just add the plugins search shortcode into the topbar and turn off the search that is there.

    Any suggestions?

    Trevor
    #189769
    This reply has been marked as private.
    Anonymous
    #189821

    Thank you, Trevor. This isn’t a critical issue at the moment. It looks like you have your hands full. If today works for you still, that’s fine. If you need to take care of more important things today, I’ll understand. No problem.

    Trevor
    #189823

    The gaps thing. My basic script would look something like this:

    (function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        console.log("ajax complete");
        var $container = $('.reinit-isotope'), iso_selector = $('.reinit-isotope').data('iso-selector');
        $container.isotopeb({masonry: {columnWidth: iso_selector}, transitionDuration: '0s'});
      });
    }(jQuery));

    It would have to be inside script tags or in the Simple Custom CSs and javascript plugin (which does the script tags for you).

    Anonymous
    #189825

    I’m not sure what I need to do with this information. Shall I produce a new TeamViewer pass, or would it be easier to do this using your admin rights to my site?

    Trevor
    #189829
    This reply has been marked as private.
    Anonymous
    #189831

    Excellent.

    Go enjoy that garden of yours, maybe take a picture of it for me.

    Trevor
    #189875
    This reply has been marked as private.
    Anonymous
    #189896

    Hi, Trevor; This time of day is probably the busiest time for me as I need to be sure everyone knows where they are and what needs to be done today. I also have some tasks of my own that others need for me to complete before they can take whatever to the next step. How much time will you need do you think?

Viewing 10 posts - 61 through 70 (of 118 total)