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

Accepted Solution (1)
Mircea_Piturca
Shopify Partner
1545 44 343

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

View solution in original post

Reply 1 (1)
Mircea_Piturca
Shopify Partner
1545 44 343

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