Suggestion : Add collections collection to product object

0 views
Skip to first unread message

Kevin Prud'homme

unread,
Sep 1, 2011, 5:45:02 AM9/1/11
to shopi...@googlegroups.com
I use API to get product page url, I need to get collection by product_id after I get product to build page url with collection handle and product handle.
If I had collection list (like variants) in my product I can deceide on creation in witch collection my product is linked and when I get I can take collection handle to make product page url easiest thant now (I need 2 request to make my url).

Is that possible to provide this collection of... collection ? :)

Regards,
Kev

Ilya Vassilevsky

unread,
Sep 1, 2011, 8:32:36 AM9/1/11
to shopi...@googlegroups.com
Yo Dawg :D

Edward Ocampo-Gooding

unread,
Sep 1, 2011, 9:01:06 AM9/1/11
to shopi...@googlegroups.com, shopi...@googlegroups.com
“… I built you a collection in your product, so you can product in your collection.”

Seriously though… are you looking to just construct a URL to a product? Try

http://YOURSTORE.myshopify.com/products/PRODUCT_HANDLE

Reply all
Reply to author
Forward
0 new messages