Tutorial Code Errors

Solved
hypercubes
New Member
1 0 0

Hello,

Seems like your tutorial code has some errors?

Untitled.png

Can't see where shop is defined, and there's a missing comma after

httpOnly: false

 The linked Github file is also from the previous tutorials.

Cheers

0 Likes
Mircea_Piturca
Shopify Partner
1462 39 285

This is an accepted solution.

Have a look at the full file: https://github.com/Shopify/shopify-demo-app-node-react/blob/master/server.js#L38

Shop is assigned as a const at line 38. It is a destructuring assignment.

Finally—Add variant descriptions to your products
0 Likes