Concepts
Templates
Templates
URL: /dashboard/template
Templates (Product Templates) are reusable configurations that define how an image becomes a listing.
Template Composition
graph TD
subgraph "Template Components"
PT[Product Type<br/>T-shirt, Mug, Poster]
PP[Print Provider<br/>Printful, Printify]
PR[Pricing Rules<br/>Base + Markup]
TD[Title Pattern<br/>Variables & Text]
TG[Default Tags<br/>SEO Keywords]
end
PT --> TEMPLATE[📝 Template]
PP --> TEMPLATE
PR --> TEMPLATE
TD --> TEMPLATE
TG --> TEMPLATE
style TEMPLATE fill:#4f46e5,color:#fffWhat is a Template?
A template contains:
- Product type - T-shirt, mug, poster, etc.
- Print provider - Printful, Printify, etc.
- Pricing rules - Base price, markup, shipping
- Title/description patterns - With placeholders for customization
- Default tags - For SEO and categorization
How Templates Work
flowchart LR
IMG[🎨 Image] --> COMBINE((+))
TMPL[📝 Template] --> COMBINE
COMBINE --> LIST[🛒 Listing]
style IMG fill:#8b5cf6,color:#fff
style TMPL fill:#3b82f6,color:#fff
style COMBINE fill:#f59e0b,color:#000
style LIST fill:#22c55e,color:#fffWhen you apply a template to an image, the system helps you:
sequenceDiagram
participant U as User
participant T as Template Engine
participant P as Printful
participant L as Listing
U->>T: Apply Template to Image
T->>P: Request Mockups
P-->>T: Mockup Images
T->>T: Calculate Pricing
T->>T: Populate Title/Description
T->>T: Apply Tags
T->>L: Create Draft Listing
L-->>U: Ready for Review!Creating Templates
- Go to
/dashboard/template - Select a product type from Printful catalog
- Configure pricing rules
- Set title/description patterns with placeholders
- Add default tags
- Save your template
Template Variables
Use these placeholders in titles and descriptions:
| Variable | Description | Example |
|---|---|---|
{style} | Art style name | "Watercolor" |
{niche} | Niche category | "Mountain Landscape" |
{color} | Primary color | "Blue" |
{product} | Product type | "T-Shirt" |