Below is a practical, copy-pasteable guide for writing “perfect” AI prompts to generate or improve PrestaShop products, categories and CMS pages. It includes the prompt structure to use, what inputs to supply, examples/templates for single items and bulk tasks, output formats (CSV/JSON) and QA tips to avoid hallucinations and keep things import-ready.
Core principles (what makes a great prompt)
- Be specific: include the exact PrestaShop fields you need and length/SEO constraints.
- Provide context: brand voice, target audience, and unique selling points (USPs).
- Give structured output instructions: require JSON or CSV with exact field names.
- Provide examples: show one correct sample output.
- Ask for verifiable facts only: avoid inventing specs or warranty claims unless provided.
- Include language/locale and formatting rules (e.g., link_rewrite slug rules).
- Include validation rules for import (e.g., numeric types, date formats, image URLs).
Required input to provide the model
- Product: title, brand, model/ref, specs (size, weight, color), features, materials, SKU, price, tax class, stock, images, variants, target audience, USPs, competitor keywords, forbidden claims.
- Category: category name, parent category, target keywords, tone, typical product types, desired SEO length.
- CMS page: page purpose (about, shipping, returns), tone, legal required text, links to include, SEO keywords.
- Global: locale (en_US, fr_FR), currency, measurement units, brand voice, max lengths for meta tags.
Prompt structure to follow (recommended)
1) System/role: set assistant behavior (SEO copywriter, PrestaShop import assistant).
2) Context: supply brand + product/category/CMS data and targets.
3) Task: clear instruction of what to produce (fields, languages).
4) Constraints/Rules: lengths, no invented specs, CSV/JSON schema, slug rules, allowed HTML tags (e.g.,
- ,
- , ), image handling.
5) Output format: exact JSON/CSV schema and a one-item example.
6) QA checks to run (spell, slug uniqueness, numeric formats).
Sample system prompt (use once per session)
You are an expert e-commerce copywriter and PrestaShop import assistant. Produce accurate, SEO-friendly, brand-consistent product/category/CMS content in the exact JSON/CSV schema requested. Do not invent technical specs or medical/legal claims. Validate slugs and lengths. Provide outputs only in the requested format, and include short explanations only when asked.
Product creation — short template prompt (single product)
Context: brand = "Acme Tools", audience = "DIY homeowners, 25-55, mid-price segment", locale = "en_US", currency = "USD".
Data: name = "Cordless Drill X200", brand = "Acme", SKU = "ACX200-01", price = 129.99, tax_rules_id = 1, quantity = 150, weight = 1.2 kg, dimensions = 25x8x20 cm, color = "black/yellow", battery = "18V Li-ion 2.0Ah", images = [list of URLs], features = ["2-speed gearbox", "LED light", "1-year warranty"], short_desc = "Compact cordless drill for home projects".
Task: Generate PrestaShop-ready fields: name, link_rewrite (slug), description_short (HTML allowed:
- ,
- ,), description (detailed HTML), meta_title (max 60 chars), meta_description (max 160 chars), meta_keywords (comma-separated), tags (comma-separated), features (array of {name,value}), combinations if any, images array (URLs). Use brand voice: practical and friendly. Do not invent technical specs beyond given. Use American English.
Constraints:
- meta_title <= 60 chars; meta_description <= 160 chars.
- link_rewrite: lowercase, hyphens, no special chars.
- Output EXACT JSON only. Example:
{ "name":"", "link_rewrite":"", "description_short":"", "description":"", "meta_title":"", "meta_description":"", "meta_keywords":"", "tags":"", "price":129.99, "sku":"", "quantity":150, "weight":"1.2", "features":[{"name":"Battery","value":"18V Li-ion 2.0Ah"}], "images":["https://..."] }
Product creation — example full prompt (copy-paste)
[Include the System prompt above]
Context: brand = "Acme Tools"; audience = "DIY homeowners 25–55, mid-price"; locale = "en_US"; currency = "USD".
Data: name = "Cordless Drill X200"; brand = "Acme"; SKU = "ACX200-01"; price = 129.99; tax_rules_id = 1; quantity = 150; weight = 1.2; dimensions = "25x8x20 cm"; color = "black/yellow"; battery = "18V Li-ion 2.0Ah"; features = ["2-speed gearbox","LED light","1-year warranty"]; images = ["https://acme.example/images/x200-1.jpg","https://acme.example/images/x200-2.jpg"]; short_desc = "Compact cordless drill for home projects".
Task: produce JSON for PrestaShop with exactly these keys: name, link_rewrite, description_short, description, meta_title, meta_description, meta_keywords, tags, price, sku, quantity, weight, dimensions, features (array), images (array). Constraints: meta_title ≤ 60 chars; meta_description ≤ 160 chars; link_rewrite lowercase with hyphens; allowed HTML tags in descriptions:
,
- ,
- , , . Do not invent specs. Output only JSON and nothing else.
Category description prompt (template)
Context: category = "Cordless drills", parent = "Power tools", audience and brand as above, target keywords: "cordless drill", "battery drill", "drills for home".
Task: Write a friendly, SEO-optimized category description (500–700 characters) and a short description for product listing (150–200 characters). Provide meta_title (≤60), meta_description (≤160), meta_keywords. Also provide suggested top 10 tags and a slug (link_rewrite). Output JSON.
CMS page prompt (returns & shipping/returns)
Context: page = "Shipping & Returns", locale/language, brand tone = professional and reassuring.
Task: Draft a PrestaShop CMS page HTML (allowed tags
,
,
,
- , , . Do not invent specs. Output only JSON and nothing else.
Category description prompt (template)
Context: category = "Cordless drills", parent = "Power tools", audience and brand as above, target keywords: "cordless drill", "battery drill", "drills for home".
Task: Write a friendly, SEO-optimized category description (500–700 characters) and a short description for product listing (150–200 characters). Provide meta_title (≤60), meta_description (≤160), meta_keywords. Also provide suggested top 10 tags and a slug (link_rewrite). Output JSON.
CMS page prompt (returns & shipping/returns)
Context: page = "Shipping & Returns", locale/language, brand tone = professional and reassuring.
Task: Draft a PrestaShop CMS page HTML (allowed tags
- ,), description (detailed HTML), meta_title (max 60 chars), meta_description (max 160 chars), meta_keywords (comma-separated), tags (comma-separated), features (array of {name,value}), combinations if any, images array (URLs). Use brand voice: practical and friendly. Do not invent technical specs beyond given. Use American English.
Constraints:
- meta_title <= 60 chars; meta_description <= 160 chars.
- link_rewrite: lowercase, hyphens, no special chars.
- Output EXACT JSON only. Example:
{ "name":"", "link_rewrite":"", "description_short":"", "description":"", "meta_title":"", "meta_description":"", "meta_keywords":"", "tags":"", "price":129.99, "sku":"", "quantity":150, "weight":"1.2", "features":[{"name":"Battery","value":"18V Li-ion 2.0Ah"}], "images":["https://..."] }
Product creation — example full prompt (copy-paste)
[Include the System prompt above]
Context: brand = "Acme Tools"; audience = "DIY homeowners 25–55, mid-price"; locale = "en_US"; currency = "USD".
Data: name = "Cordless Drill X200"; brand = "Acme"; SKU = "ACX200-01"; price = 129.99; tax_rules_id = 1; quantity = 150; weight = 1.2; dimensions = "25x8x20 cm"; color = "black/yellow"; battery = "18V Li-ion 2.0Ah"; features = ["2-speed gearbox","LED light","1-year warranty"]; images = ["https://acme.example/images/x200-1.jpg","https://acme.example/images/x200-2.jpg"]; short_desc = "Compact cordless drill for home projects".
Task: produce JSON for PrestaShop with exactly these keys: name, link_rewrite, description_short, description, meta_title, meta_description, meta_keywords, tags, price, sku, quantity, weight, dimensions, features (array), images (array). Constraints: meta_title ≤ 60 chars; meta_description ≤ 160 chars; link_rewrite lowercase with hyphens; allowed HTML tags in descriptions: