Ecommerce
Luminal CMS includes a complete ecommerce stack — product management, multi-gateway payments, print-on-demand merchandise, and affiliate product grids.
System Overview
Three modules work together under the Ecommerce menu group:
- MyStore — Product management and customer-facing storefront
- Payment Providers — Gateway configuration (PayPal, Stripe, Square)
- Printful Manager — Print-on-demand merchandise integration
- Affiliate Products — Affiliate link management with AI discovery
MyStore
Setup
- Navigate to My Store in the Ecommerce section.
- Add products with title, description, price, and images.
- Product images are stored in
media/store/. - Product data is stored in
admin/data/mystore/products/as individual JSON files.
Embedding the Store
Add the storefront to any page using the shortcode:
[[store]]
[[mystore]]The storefront renders a product grid with add-to-cart functionality, a shopping cart, and checkout flow.
Orders
Orders are saved to admin/data/mystore/orders.json. Each order records the products, quantities, customer information, payment gateway used, and order status.
Payment Providers
Configure payment gateways that customers can use at checkout:
PayPal
- Open Payment Methods.
- On the PayPal card, enter your Client ID and Secret.
- Toggle Enabled on.
- Click Save.
Stripe
Enter your Stripe Publishable Key and Secret Key. Stripe supports credit card payments directly on your site.
Square
Enter your Square Application ID and Access Token for in-person and online payments.
You can enable multiple gateways simultaneously. Set one as the default — this is pre-selected at checkout but customers can choose any enabled gateway.
Printful Integration
Sell print-on-demand merchandise without managing inventory:
- Navigate to Printful in the Ecommerce section.
- Enter your Printful API key in the settings.
- Click Test Connection to verify.
- Click Sync Products to pull your Printful catalog.
Printful products appear in the storefront alongside your custom products, tagged with a POD badge. Orders for Printful products are automatically fulfilled by Printful.
Affiliate Products
Manage and display affiliate product grids:
- Navigate to Affiliate Products in the Ecommerce section.
- Click + Add Product.
- Paste the affiliate URL — the system auto-detects the source (Amazon, Walmart, Best Buy, Target, or generic).
- Fill in title, description, image URL, and category.
- Save the product.
AI Discovery
Use AI to discover relevant affiliate products:
- Click AI Discover in the toolbar.
- Enter a prompt describing the products you want (e.g., "studio recording equipment under $200").
- Review the AI suggestions.
- Click Approve on products you want to add.
Embedding Affiliate Products
[[affiliate-products]]
[[affiliate-products category="gear" limit="6" columns="4"]]
[[affiliate-product:product-id]]Affiliate links automatically include rel="noopener nofollow sponsored" for FTC compliance.
Checkout Flow
- Customer browses the storefront (products from MyStore + Printful).
- Adds items to cart (stored in PHP session).
- At checkout,
checkout-gateway.phppresents enabled payment gateways. - Customer selects gateway and completes payment.
- Order is recorded in
admin/data/mystore/orders.json. - Products tagged with source and fulfillment method (self or Printful).