Hydrogen
Commerce primitives for you and your coding agents. Add cart, products, money, and accounts to the framework you already use.
Inițiază returul în câțiva pași simpli
Translation pending
CommerceTypeScript · CSSGitHub @alexmoldooOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
Aplicație web modernă pentru gestionarea procesului de retur al comenzilor, dezvoltată cu Next.js și React.Read the full README ↗
Aplicație web modernă pentru gestionarea procesului de retur al comenzilor, dezvoltată cu Next.js și React.
npm install
Configurează Shopify API:
.env.local în root-ul proiectuluiSHOPIFY_DOMAIN=your-shop.myshopify.com
SHOPIFY_ACCESS_TOKEN=your-access-token-here
read_ordersread_customers (opțional)Rulează aplicația în modul de dezvoltare:
npm run dev
├── app/
│ ├── layout.tsx # Layout principal
│ ├── page.tsx # Pagina principală
│ ├── globals.css # Stiluri globale
│ ├── termeni-conditii/ # Pagina Termeni & Condiții
│ ├── politica-retur/ # Pagina Politica de retur
│ └── contact/ # Pagina Contact
├── app/
│ ├── api/
│ │ └── search-order/ # API route pentru căutare comenzi Shopify
│ └── ...
├── components/
│ ├── ReturnProcess.tsx # Componenta principală pentru procesul de retur
│ ├── StepIndicator.tsx # Indicator de progres pentru pași
│ ├── OrderDetailsStep.tsx # Step 1: Detalii comandă cu validare progresivă
│ ├── ProductsStep.tsx # Step 2: Selectare produse
│ └── RefundDetailsStep.tsx # Step 3: Date rambursare
├── lib/
│ └── shopify.ts # Serviciu pentru interacțiunea cu Shopify API
├── .env.local # Configurație Shopify (nu se versionizează)
└── package.json
Aplicația folosește Shopify Admin API pentru validarea comenzilor. Strategia de căutare este:
.env.local