Viewing 8 replies - 1 through 8 (of 8 total)
  • Filipe Costa

    (@filipecostacom)

    Selecting multiple attributes works. Try to use checkbox type and OR operator on your widget.

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi Hari,

    Please check plugin description:
    type(required) – checkbox, radio, slider or select
    operator – OR or AND

    So to give option to choose several values set type to ‘checkbox’ and ‘OR’ operator if you want product to have one of selected or ‘AND’ operator if product must have all of the selected.

    Filipe, thanks for help =)

    Regards,
    Dima

    Thread Starter gupta.hariom317

    (@guptahariom317)

    Hi Dima,

    Thanks Dima and Filipe for your response.

    Yeah, I knew that, checkbox are working fine with the multiple selection, but actually I want to know how to use the multiple selection with the select > options. However I found a way and make it done. Please check the following URL: https://dothejob.in/touramigo/tours/

    Can you let me know how I can create a filter by categories using shortcode on the shop page, I am not using widget.

    Thanks,
    Hari

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi Hari,

    First of all you need to add styles and make input fields wider to fit value =)

    As for the categories – there are no filter for categories, only price and attributes. You need to create attribute ‘category'(or other name if you want), add values to products for this attribute and use it as any other.

    Categories are used as limitation for filters so using it AND as filter would provide huge amount of issues =) This will not be changed in near future, sorry.

    Regards,
    Dima

    Thread Starter gupta.hariom317

    (@guptahariom317)

    Hi Dima,

    I am not able to remove the last selected option of the multiple select. Can you help me out with this.

    This might be due to this piece of code: berocket_aapf_widget_product_filters.splice(i, 1);

    Additionally, I have done few custome work in widget.js file

    // Custom Work
                        var checkis_our_custom = 0;
                        $el.find("option:selected").each(function(e123) {
                            var ccc = $(this).data();
                            console.log(ccc);
                            if ($el.val()) berocket_aapf_widget_product_filters[berocket_aapf_widget_product_filters.length] = [ccc.taxonomy, ccc.term_id, ccc.operator];
                            checkis_our_custom = 1;
                        });
                        if(checkis_our_custom != 1)
                        {
                            if ($el.val()) berocket_aapf_widget_product_filters[berocket_aapf_widget_product_filters.length]  = [el_data.taxonomy, el_data.term_id, el_data.operator]
                        }
    
                        // End here

    Can you help me with this.

    Here is the site link: https://dothejob.in/touramigo/tours

    Thread Starter gupta.hariom317

    (@guptahariom317)

    Hi Dima,

    One more thing I am facing, the filters are not showing on the tags, categorys page. Is this plugin support the filter on category page and tags pages as I am using it with shortcode on “archive-product.php”.

    btw, we are supposed to use the same template for all these kind of listing pages, so here is should be shown by default.

    Thanks,
    Hari

    Thread Starter gupta.hariom317

    (@guptahariom317)

    Hi Dima,

    How many product this plugin can work with.

    I have arround 25000 product and this plugin get stop my site.

    Thanks,
    Hari

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi Hari,

    Sorry, I’m limited in time last 2 weeks. Never check how many product this plugin can work with. But this is interesting question. I’ll investigate this and will try to optimize it for better performance(as for now it wasn’t needed)

    Regards,
    Dima

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multiple selection of attributes’ is closed to new replies.