Commerce settings

Flexible checkout, not locked to one platform.

This build supports Stripe Checkout, Square Checkout, Shopify Checkout, or direct payment links. The selected provider is controlled in assets/js/products.js and the Netlify environment variables.

Stripe

Use Stripe Price IDs per variant plus STRIPE_SECRET_KEY.

Square

Use Square variation IDs or item details plus SQUARE_ACCESS_TOKEN and SQUARE_LOCATION_ID.

Shopify

Use Storefront token, shop domain, and ProductVariant GIDs.

Inventory

SKU stock table

Adjustments here update the browser preview and exportable CSV. A live store should sync to the selected provider or a private database.

ProductVariantSKUStockStripe PriceSquare IDShopify GID

Feed import

CSV structure

A retail shop can upload or automate a feed with these columns: sku, product_title, variant_name, price, stock, stripe_price_id, square_variation_id, shopify_variant_gid, payment_link.

sku,product_title,variant_name,price,stock,stripe_price_id,square_variation_id,shopify_variant_gid,payment_link
DDD-RDC-M-MN,Rope Drop Captain Tee,M / Midnight Navy,36,12,price_123,,gid://shopify/ProductVariant/123,
DDD-MLD-L-LB,Monorail Loop Dad Tee,L / Lagoon Blue,36,9,price_456,,,