@alphasquad/saleor-template-standard
v0.1.1
Published
Standard Saleor storefront template (Next.js App Router) intended for a **single tenant per deploy**.
Readme
saleor-template-standard
Standard Saleor storefront template (Next.js App Router) intended for a single tenant per deploy.
What’s Included
- Basic UI: homepage, category/search, PDP, cart, checkout, account
- YMM (Fitment Groups) via PartsLogic
- Checkout features:
- Checkout questions
- PayPal (custom integration in the codebase)
- Ship to dealer / will-call style flows (when configured)
- Dealer applications / inquiries (forms posting to
POST /api/form-submission) - Static pages: Newsletter, Terms & Conditions, Shipping & Returns
- Product options (e.g. Color / Weight / Dimensions)
Requirements
- Node.js 20+
- Yarn
- A Saleor GraphQL endpoint
- PartsLogic (for YMM)
Setup
- Copy
.env.exampleto.env.localand adjust values.- Set
NEXT_PUBLIC_SITE_URLtohttp://localhost:3000for local dev.
- Set
- Install and run:
yarn install
yarn devForms (SMTP)
POST /api/form-submission supports SMTP delivery when these env vars are set:
SMTP_HOST,SMTP_PORT,SMTP_USER,SMTP_PASSSMTP_FROM,SMTP_TO
Optional:
SMTP_REPLY_TOEMAIL_SUBJECT_PREFIX
Template-Friendly Builds
This template is expected to:
yarn buildsucceeds even if optional env vars are missing.- Pages that rely on external services should degrade gracefully when not configured.
Apple Pay
See:
APPLE_PAY_QUICK_START.mdAPPLE_PAY_SETUP.md
