Woocommerce sort by hidden attributes using php

My products currently have 4 different hidden attributes.

earliest-year = “1999|1999”
latest-year = “2018|2018”
wheel-drive = “2WD|4WD”
make = “Ford|Ford”
model = “F-250 Super Duty | F-250 Super Duty”

How would I query a request to my woocommerce store to return when their car matches?

I have a custom form where the user selects their information. Ideally I’d just set that form’s GET request to some page.

Thanks in advance.

Read more here:: Woocommerce sort by hidden attributes using php

Leave a Reply

Your email address will not be published. Required fields are marked *