OK, there could also be other problems. But your fetch address is missing the:
Code:
cors-anywhere.herokuapp.com/
part. You have:
Code:
fetch("https://matchesfashion.com/nms/ajax/p/1185545,1181918,1188952,1186721,1186396,1177398,1217459,1177486,1186168,1177405,1184983")
But it should be:
Code:
fetch("https://cors-anywhere.herokuapp.com/matchesfashion.com/nms/ajax/p/1185545,1181918,1188952,1186721,1186396,1177398,1217459,1177486,1186168,1177405,1184983")
The reason I say there could also be other problems is that this returns an array of objects instead of a single object that the successful single product code does. But it at least looks like you're attempting to account for that. I'll try it in your pen and see what happens.
OK, just did that, and get a new error at least (the previous error was that nothing was fetched), and it appears to apply to what I was saying:
Must pass iterator to #each
Not sure how that part works in handlebar though. Might be able to figure it out, or maybe you can.
Bookmarks