Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How do I retrieve products based on a list input?

How do I retrieve products based on a list input?

j_medina
New Member
5 0 0

Hello,

I sell collectible cards, and one thing we need to do is to create a page where a customer can input a list of cards and get back a list of products to add to their cart. Here's an example of what I'm trying to replicate.

https://starcitygames.com/shop/deck-builder/

Here's some sample data: 

 

1 Aether Spellbomb (j22) 752
1 Aetherize (scd) 42
1 An Offer You Can't Refuse (snc) 51
1 Ancient Tomb (uma) 236
1 Arcane Denial (all) 22b
1 Blast Zone (bro) 258

How can I program this in shopify? I know a bit of Java script, but I'm not sure how I should be searching my catalog or how I can return the results like a collection. Please let me know if anyone has any ideas. 

Replies 2 (2)

newtonx
Shopify Partner
13 1 3

Hello, 

 

I can help you with this, as I have designed the electron app for one of my clients and use Shopify APIs to get products, add to the cart -> direct to the payment page, -> create orders in Shopify.

 

But I need to understand the full flow.

j_medina
New Member
5 0 0

I just wrote you a message. Thank you!