Last 12 weeks · 3 commits
2 of 6 standards met
I dont understand where we get the env vars from? I go to: Shopify Dashboard Apps Create apps in dashboard that takes me to shopify.dev.com where I create a new app Newly created app Install app (seems to be installed ok) In settings of newly created app I see "cliend id" and "secret", but they dont seem to relate to: or Does documentation need to be updated or am I missing something?
Repository: vercel/commerce. Description: Next.js Commerce Stars: 13907, Forks: 5334. Primary language: TypeScript. Languages: TypeScript (99.2%), CSS (0.7%), JavaScript (0.1%). License: MIT. Homepage: https://demo.vercel.store Topics: ecommerce, nextjs, react, shopify. Latest release: v1 (2y ago). Open PRs: 19, open issues: 53. Last activity: 3w ago. Community health: 62%. Top contributors: okbel, lfades, cond0r, manovotny, Francam94, julianbenegas, leerob, pacocoursey, goncy, martinbavio and others.
TypeScript
While being on https://shop.ditectrev.com I'm clicking and it redirects me to https://122d98.myshopify.com/checkouts/cn/ABC..., instead of leveraging the custom domain such as https://shop.ditectrev.com/checkouts/cn/ABC.... I'm sending my domain redirects. The semo behaviour we can see for https://demo.vercel.store I think so it's intentional, and should be fixed, but if someone has an idea I'll share my domain settings.
I don't fully understand how the data is updated after the cart is mutated. I see that revalidateTag() is being called, but I don't understand how the update sends the minimum diff. Besides, I can't find where the cart is marked with TAGS.cart. In addition, I want to know if server actions optimally update outdated data. They don't cause the entire tree to be recalculated, do they? It seems to me that I have little control with server actions, but I would like to use them rather than tanstack query, because they are native. I hope someone will give me the answers to my questions.