• Resolved theblueli

    (@theblueli)


    Hi.
    First of I want to say this is a plugin I am looking for a long time now.
    Say I want to place a Hierarchy dropdown on home page. I want to have a submit button after the custom selected their model from the dropdown. Then they will be redirected to the result page where they will see the result page just like the demo https://cars.avalon23.dev/tyres/. With other standard filters and the selected
    Hierarchy dropdown.
    #1 Can We achieve this such finder?

    #2 Can we duplicate the filter and use both on the same page? One on desktop, one on mobile devices. Use display: none to hide/show. Some filter plugins cant do that. Just wondering if this could happen?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author paradigmatools

    (@paradigmatools)

    Hello

    1) in this case you need code customization
    An example:

    document.addEventListener('avalon23-filter-is-drawn', function (e) {
        if (e.detail.filter_option.filter_id != 1){
    	return true;
        }
        
        let last = e.detail.filter_elements.querySelector('.avalon23-filter-cell-make ul li select[data-level="0"]');
        let btn =  e.detail.filter_elements.querySelector('.avalon23-filter-filter.avalon23-btn');
        if (last == null) {
    	btn.style.display = "inline";
        } else {
    	btn.style.display = "none";
        }
        return true;
     });

    You can drop me exact link to the page with filter and I will develop the code for your case

    2) Yes it is possible. In the widget settings – https://share.stackovergo.com/image/i20220514115016.png

    Thread Starter theblueli

    (@theblueli)

    OK Thanks, will try it later, the site is not ready yet

    Plugin Author paradigmatools

    (@paradigmatools)

    Hello

    Ok! Great

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I do a product finder with this plugin?’ is closed to new replies.