Javascript app proxy collection list filtering

Javascript app proxy collection list filtering

Ryback
Shopify Partner
7 0 5

Hi!

I'm trying to build some kind of product recommendation tool.
So basically the customer must answer a couple of questions and then he get a list of products as a recommendation.

My approach was a custom collection list template for a collection which contains all products (about 1000) with a shopify app proxy integration. So the customer can click on different answers and a javascript sends the answers via XMLHttpRequest to my app proxy.
Then the app proxy sends back the product handles or product ids of the recommended products as JSON Data. So far this works, but i don`t know the best way then to filter or modify the product list.
My first thought was to use "all_products" but it seems to be limited for 20 products only. So that`s not enough.
So is my approach to modify the collection list with a javascript (like the shopify filter function) practicable?

Does anyone maybe have an idea or thought as a tip for me for the right direction?

 

Thanks
Daniel

Replies 0 (0)