• Hello, we use your excellent plugin on our site and yesterday 3 of our 9 computers here at the store had an extra couple of buttons. After completing a search, beside the “Search” button below the YMME there was a “Clear Form” (clear something, I can’t remember if it was “Form” or “Search” or “Results” or what) and another button that I can’t remember. That “Clear Form” button is very useful as we’ve been having problems getting the search to work correctly due to server caching (Siteground has some weirdness).

    This morning, all computers are back to the old style with just the “Search” button.

    Is there a way to enable the “Clear form” button? I looked through all of the settings I could think of.

    I wish I had taken a screenshot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    The “clear filter” link appears when this plugin is used as a filter on a category page.

    You can enable the “filter category page” feature in the settings of the “YMM Search” widget:
    Wordpress dashboard -> Appearance -> Widgets

    Also it is possible to modify this plugin to make it always display the “Clear selection” button.

    You can contact me by email [email protected] to get the modified files.

    Stanislav

    Thread Starter firstfilterservice

    (@firstfilterservice)

    Bingo! If I go to a category (ie. “Batteries”) and run a search, the options pop up (Search All and Clear Filter).

    Is it easy to change to having “Clear Filter” stay? If it is, I’ll do it.

    But as long as I know how it works, I can train my staff to just click the category first. Maybe that will clear up some of the issues we have been having with selections getting “stuck”.

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    > the issues we have been having with selections getting “stuck”

    It is possible to make this plugin not save the last selected vehicle in the browser cookies.

    Try to add the line:

    
    return; // don't save selected vehicle
    

    after the line:

    
       garageAdd : function(vehicle){
    

    in the file:
    wp-content/plugins/ymm-search/view/frontend/web/main.js

    Then refresh your browser cache and clear cookies from your website.

    Stanislav

    Thread Starter firstfilterservice

    (@firstfilterservice)

    Alright, I think I have added the line in the correct spot. I cleared my browser cache and cookies. But I haven’t cleared the cookies on the website – I’m not sure how to do that.

    We’ll try it for a couple of days and see what we get.

    Thank you for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Clear form option’ is closed to new replies.