Show results based on product category page

Hi all

Thank you for an awesome service. I have previously used Algolia Ecommerce feature on WordPress and that plugin offers a feature where the WooCommerce product category page displays results based on the product category. So on shoes page the results from Algolia are shoes.

How would go I about setting that up on a non WordPress website? Would I just grab the “uri” and use that as default search query. For example on VueJS mounted this.searchterm = “uri” ?

Thank you in advance.

Bumping this if you don’t mind…