• Resolved Shauni Drought

    (@shauni-drought)


    Hi there!

    I’m needing to pass multiple filters through the URL.
    Has anyone had any luck with this or know how I can go about doing this?
    I currently have one working filter passing through the URL, I’m just not sure how to get two.

    Eg. window.location.assign(“url/?filters=attribute-brand[” + e + “]”);
    How do I add another attribute filter to the URL?

    Thanks!

    https://ww.wp.xz.cn/plugins/woocommerce-ajax-filters/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hi Shauni Drought,

    For multiple attributes use | as separator, something like this
    URL?filters=color[16+12]|size[5+8]

    Regards, Oleg

    Thread Starter Shauni Drought

    (@shauni-drought)

    Thank you so much! You’ve saved me daaaays of trying to figure this out!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Passing Multiple Attribute Filters Through URL’ is closed to new replies.