ps-demo-user

Solid

ps-demo-user — Usuario demo PrestaShop 8 (Lando)

AI & Automation 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# ps-demo-user — Usuario demo PrestaShop 8 (Lando) Crea un cliente de prueba con historial completo para testear la UI del panel de usuario. Reutilizable en cualquier proyecto PS8 con Lando. ## Credenciales (siempre las mismas) | Campo | Valor | |----------|--------------| | Email | `edu@demo.com` | | Password | `edudemo123` | | Nombre | Edu Demo | ## Qué incluye - 2 direcciones (casa + trabajo con empresa y NIF) - 3 pedidos con estados distintos: - `DEMO00001` — **Entregado** (hace 60 días) + factura descargable + tracking GLS - `DEMO00002` — **Enviado** (hace 30 días) + factura + tracking GLS - `DEMO00003` — **En preparación** (hace 5 días) - Pagos registrados por cada pedido - Historial completo de cambios de estado - Transportista con número de seguimiento ficticio ## Instrucciones de uso ### Paso 1 — Obtener datos del proyecto ```sql -- Carrier activo SELECT id_carrier, name FROM {prefix}carrier WHERE active=1 AND deleted=0 LIMIT 5; -- Productos con precio para usar en order_detail SELECT id_product, reference, price FROM {prefix}product WHERE active=1 AND price > 0 LIMIT 5; -- Prefijo -- Ver en app/config/parameters.php → database_prefix ``` ### Paso 2 — Copiar y adaptar el script base El script base está en `demo-user-setup.sql` (proyecto vives-8). Cambios obligatorios para otros proyectos: 1. Reemplazar prefijo `vivesps_` → el del proyecto 2. Cambiar `@carrier_id` por el carrier activo 3. Cambiar los `product_id` en la sección ORD...

Details

Author
educlopez
Repository
educlopez/mallard
Created
2 months ago
Last Updated
today
Language
Go
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

ps-email-preview

Generates a full-featured email template viewer for PrestaShop projects, deployed as email-preview/index.php (subfolder, ROOT = dirname(__DIR__)). Features: Geist font + Geist Mono UI matching Vercel design system; PS admin authentication via Cookie class (always denies on failure — never allows by default); CSRF protection on all write endpoints; sandboxed iframe (sandbox="allow-scripts"); shop logo and favicon resolved dynamically from PS DB; source version pill dropdown (custom, not native select) showing child/parent/core with colored dots and count badge; language pill dropdown (same custom pattern); sidebar with real-time search (F shortcut), Geist-style tabs in drawer and preview bar, source stack dots per template; "↑ child" button with Geist confirmation modal to copy template to child theme override; "Eliminar override" button with Geist destructive modal (red band, irreversibility warning) to delete the child override and revert to parent/core; Variables inspector drawer (tabs: Variables with clipb

3 Updated today
educlopez
Code & Development Solid

ps-invoice-preview

Generates a local invoice PDF viewer for PrestaShop projects, deployed as invoice-preview/index.php (subfolder, ROOT = dirname(__DIR__)). Lists the last 50 orders (searchable by reference/customer/id), renders the real PDF invoice for any order straight from classes/pdf/HTMLTemplateInvoice.php + pdf/*.tpl (respecting any themes/{child}/pdf/*.tpl override PS itself resolves) inline in the browser via an iframe, with a "Generar factura" button for orders that don't have one yet. Zero placeholders to fill in — admin dir, Lando URL, DB credentials and shop name are all auto-detected at runtime from config/parameters.php and the PS_SHOP_NAME configuration value. Gated behind backoffice employee auth (Cookie class, always denies on failure). Geist-font UI matching the ps-email-preview visual style. Use this skill whenever the user wants to preview, inspect, or debug PrestaShop invoice/receipt PDF templates without going through the backoffice order page each time, asks "cómo se ve la factura", "quiero ver el PDF de

3 Updated today
educlopez
API & Backend Solid

lando-setup

Sets up a PrestaShop 8/9 project locally with Lando, or refreshes its database from the server. Full setup configures Lando, syncs app/config, picks a free port, imports the DB and fixes shop URLs; DB refresh mode only re-dumps and re-imports the database. Use when the user says "monta el proyecto", "setup lando", "prepara en local", "levanta el lando de X", "configura X en local", "actualízame la DB", "refresca la DB de X", "bájame la DB de X", "sync DB", or "quiero la DB actualizada de X".

3 Updated today
educlopez