Closed yansusanto closed 3 years ago
Hi @yansusanto!
The product ID is generated from the product name, maybe that's the reason. But the script is just using the API from stripe, try to debug what exactly you are sending when update the product.
FYI, this project is abandoned. I have been working in a better solution with Next.js, instead of Gatsby, Prismic as CMS (so no products in a script) and Stripe just for the payments. And in my opinion everything is just easier and you can have something running earlier. This is the link: https://github.com/lorenzogm/ecommerce
Hi @lorenzogm
Thank you for your response. If it is not too much to ask, do you have a demo of Next.js project you're working on?
I don’t have a demo yet for that repo. I’ll do it soon.
But, this repo is with nextjs and crystallize (an older approach than the previous link): https://github.com/lorenzogm/ecommerce-nextjs-crystallize
The demo is dindim.es
I deployed the demo Repo: https://github.com/lorenzogm/ecommerce Demo: https://ecommerce-umber-ten.vercel.app/
Awesome. I have never touched Next.js before so this is a new territory for me but I really like what you've done. Thanks for taking the time to setup the demo, @lorenzogm. Appreciate it!
Hi @lorenzogm,
Mind if I ask how do you install the repo? Thanks!
I wrote some info in the README.md. It's not very detailed and maybe it's not enough. But it's something 😄
I close this issue, feel free to ask in the other repo if you have questions.
And feel free to submit a PR if you want with more details about your experience getting started with the repo.
Say I'd like to change the product's name from 'Roarrr Shape Women T-Shirt' to 'Roarrr Shape Men T-Shirt'? What else do I need to do?
yarn catalog:update
doesn't update it at all.