@alphasquad/saleor-template-advance
v0.1.0
Published
Next.js storefront template for Saleor with: - PartsLogic-driven YMM (fitment groups) - Fitment-required vs universal products (driven by PartsLogic) - Product option sets (including multi-value option sets) driven by PartsLogic - Saleor Pages for static
Downloads
37
Readme
Saleor Advance Template
Next.js storefront template for Saleor with:
- PartsLogic-driven YMM (fitment groups)
- Fitment-required vs universal products (driven by PartsLogic)
- Product option sets (including multi-value option sets) driven by PartsLogic
- Saleor Pages for static pages (T&C, Shipping & Returns, etc.)
- Checkout with checkout questions, PayPal, Affirm, and ship-to-dealer/will-call support (via Saleor shipping methods + custom app)
- Inquiries/forms/applications
Quickstart
- Copy
.env.exampleto.env.localand fill values - Install and run
yarn install
yarn devRequired Environment Variables
NEXT_PUBLIC_API_URLNEXT_PUBLIC_SITE_URL(usehttp://localhost:3000for local dev)NEXT_PUBLIC_SALEOR_CHANNELNEXT_PUBLIC_TENANT_NAME(used by external configuration service)NEXT_PUBLIC_PARTSLOGIC_URLNEXT_PUBLIC_SEARCH_URL
Optional Environment Variables
NEXT_PUBLIC_STOREFRONT_URL(used for some payment return/cancel URLs; defaults to request origin)NEXT_PUBLIC_THEME_LAYOUTNEXT_PUBLIC_THEME_PALETTENEXT_PUBLIC_BRAND_NAMENEXT_PUBLIC_LOGO_URLNEXT_PUBLIC_APP_ICONNEXT_PUBLIC_ASSETS_BASE_URLNEXT_PUBLIC_IMAGE_HOSTSALLOWED_WEBHOOK_DOMAINSNEXT_PUBLIC_KOUNT_BASE_URL
Notes
- This repo is intended to be single-tenant per deployment.
- Redirect migration has been intentionally removed from the template.
