#!/usr/bin/env python3 """ Create Default Content Pages for All Platforms (CMS) This script creates: 1. Platform Homepages (slug="home", is_platform_page=True, sections JSON) - wizard.lu: multi-product landing (hero + products + cta) - omsflow.lu: OMS-focused (hero + features + pricing + cta) - rewardflow.lu: loyalty-focused (hero + features + pricing + cta) 2. Platform Marketing Pages (is_platform_page=True) - about, contact, faq, privacy, terms per platform 3. Store Default Pages (is_platform_page=False, store_id=NULL) - Generic templates with {{store_name}} placeholders - OMS: about, contact, faq, shipping, returns, privacy, terms - Loyalty: about, contact, faq, privacy, terms Prerequisites: - Database migrations must be applied - content_pages table must exist - Platforms must exist (run init_production.py first) Usage: python scripts/seed/create_default_content_pages.py """ import sys from datetime import UTC, datetime from pathlib import Path # Add project root to path project_root = Path(__file__).parent.parent sys.path.insert(0, str(project_root)) import contextlib from sqlalchemy import select from sqlalchemy.orm import Session # Register all models with SQLAlchemy so string-based relationships resolve for _mod in [ "app.modules.billing.models", "app.modules.inventory.models", "app.modules.cart.models", "app.modules.messaging.models", "app.modules.loyalty.models", "app.modules.catalog.models", "app.modules.customers.models", "app.modules.orders.models", "app.modules.marketplace.models", "app.modules.cms.models", ]: with contextlib.suppress(ImportError): __import__(_mod) from app.core.database import SessionLocal from app.modules.cms.models import ContentPage from app.modules.tenancy.models import Platform # ============================================================================ # HELPER: TranslatableText dict builder # ============================================================================ def t(fr: str, en: str, de: str, lb: str | None = None) -> dict: """Build a TranslatableText-compatible dict.""" d = {"translations": {"fr": fr, "en": en, "de": de}} if lb is not None: d["translations"]["lb"] = lb return d def tt(en: str, fr: str, de: str, lb: str | None = None) -> dict: """Build a simple language-keyed dict for title_translations / content_translations.""" d = {"en": en, "fr": fr, "de": de} if lb is not None: d["lb"] = lb return d # ============================================================================ # PLATFORM HOMEPAGE SECTIONS (slug="home", is_platform_page=True) # ============================================================================ def _wizard_homepage_sections() -> dict: """Wizard.lu (main) — multi-product landing page.""" return { "hero": { "enabled": True, "title": t( "Votre boîte à outils numérique pour votre entreprise", "Your Business Digital Toolkit", "Ihr digitales Business-Toolkit", ), "subtitle": t( "Gestion des commandes, programmes de fidélité et création de sites web — tout ce dont votre entreprise luxembourgeoise a besoin.", "Order management, loyalty programs, and website building — everything your Luxembourg business needs.", "Bestellverwaltung, Treueprogramme und Website-Erstellung — alles, was Ihr luxemburgisches Unternehmen braucht.", ), "background_type": "gradient", "buttons": [ { "text": t( "Découvrir nos solutions", "Discover Our Solutions", "Unsere Lösungen entdecken", ), "url": "#products", "style": "primary", }, ], }, "products": { "enabled": True, "title": t( "Nos solutions", "Our Solutions", "Unsere Lösungen", ), "subtitle": t( "Des outils conçus pour le commerce luxembourgeois", "Tools built for Luxembourg commerce", "Werkzeuge für den luxemburgischen Handel", ), "products": [ { "icon": "clipboard-list", "title": t( "Gestion des Commandes (OMS)", "Order Management (OMS)", "Bestellverwaltung (OMS)", ), "description": t( "Synchronisez vos commandes Letzshop, gérez les stocks et générez des factures conformes à la TVA.", "Sync your Letzshop orders, manage inventory, and generate VAT-compliant invoices.", "Synchronisieren Sie Ihre Letzshop-Bestellungen, verwalten Sie Lagerbestände und erstellen Sie MwSt-konforme Rechnungen.", ), "url": "/platforms/oms/", "link_text": t("En savoir plus", "Learn More", "Mehr erfahren"), }, { "icon": "heart", "title": t( "Programme de Fidélité", "Loyalty Program", "Treueprogramm", ), "description": t( "Créez des programmes de fidélité avec points, récompenses et niveaux pour fidéliser vos clients.", "Create loyalty programs with points, rewards, and tiers to retain your customers.", "Erstellen Sie Treueprogramme mit Punkten, Prämien und Stufen, um Ihre Kunden zu binden.", ), "url": "/platforms/loyalty/", "link_text": t("En savoir plus", "Learn More", "Mehr erfahren"), }, { "icon": "globe-alt", "title": t( "Création de Sites Web", "Website Builder", "Website-Erstellung", ), "description": t( "Créez votre présence en ligne avec notre outil de création de sites web intuitif.", "Build your online presence with our intuitive website builder.", "Erstellen Sie Ihre Online-Präsenz mit unserem intuitiven Website-Baukasten.", ), "url": "", "badge": t("Bientôt", "Coming Soon", "Demnächst"), }, ], }, "cta": { "enabled": True, "title": t( "Prêt à digitaliser votre entreprise ?", "Ready to Digitalize Your Business?", "Bereit, Ihr Unternehmen zu digitalisieren?", ), "subtitle": t( "Rejoignez les entreprises luxembourgeoises qui font confiance à nos solutions.", "Join Luxembourg businesses that trust our solutions.", "Schließen Sie sich luxemburgischen Unternehmen an, die unseren Lösungen vertrauen.", ), "background_type": "gradient", "buttons": [ { "text": t( "Commencer maintenant", "Get Started Now", "Jetzt starten", ), "url": "/signup", "style": "primary", }, { "text": t( "Nous contacter", "Contact Us", "Kontaktieren Sie uns", ), "url": "/contact", "style": "secondary", }, ], }, } def _oms_homepage_sections() -> dict: """OMS (omsflow.lu) — order management focused homepage.""" return { "hero": { "enabled": True, "badge_text": t( "Essai gratuit — Aucune carte de crédit requise", "Free Trial — No Credit Card Required", "Kostenlose Testversion — Keine Kreditkarte erforderlich", ), "title": t( "OMS léger pour les vendeurs Letzshop", "Lightweight OMS for Letzshop Sellers", "Leichtes OMS für Letzshop-Verkäufer", ), "subtitle": t( "Gestion des commandes, stocks et facturation conçue pour le e-commerce luxembourgeois. Arrêtez de jongler avec les tableurs. Gérez votre entreprise.", "Order management, inventory, and invoicing built for Luxembourg e-commerce. Stop juggling spreadsheets. Start running your business.", "Bestellverwaltung, Lager und Rechnungsstellung für den luxemburgischen E-Commerce. Schluss mit Tabellenkalkulationen. Führen Sie Ihr Geschäft.", ), "background_type": "gradient", "buttons": [ { "text": t( "Essai gratuit", "Start Free Trial", "Kostenlos testen", ), "url": "/signup", "style": "primary", }, { "text": t( "Trouvez votre boutique Letzshop", "Find Your Letzshop Shop", "Finden Sie Ihren Letzshop", ), "url": "#find-shop", "style": "secondary", }, ], }, "features": { "enabled": True, "title": t( "Tout ce dont un vendeur Letzshop a besoin", "Everything a Letzshop Seller Needs", "Alles, was ein Letzshop-Verkäufer braucht", ), "subtitle": t( "Les outils opérationnels que Letzshop ne fournit pas", "The operational tools Letzshop doesn't provide", "Die operativen Tools, die Letzshop nicht bietet", ), "layout": "grid", "features": [ { "icon": "refresh", "title": t( "Synchronisation Letzshop", "Letzshop Order Sync", "Letzshop-Synchronisierung", ), "description": t( "Les commandes se synchronisent automatiquement. Confirmez et ajoutez le suivi depuis Orion.", "Orders sync automatically. Confirm and add tracking directly from Orion.", "Bestellungen werden automatisch synchronisiert. Bestätigen und Tracking direkt von Orion hinzufügen.", ), }, { "icon": "cube", "title": t( "Gestion des stocks", "Inventory Management", "Lagerverwaltung", ), "description": t( "Suivez vos stocks en temps réel avec emplacements d'entrepôt et bons de commande.", "Track inventory in real-time with warehouse locations and purchase orders.", "Verfolgen Sie Lagerbestände in Echtzeit mit Lagerstandorten und Bestellungen.", ), }, { "icon": "document-text", "title": t( "Facturation TVA UE", "EU VAT Invoicing", "EU-MwSt-Rechnungen", ), "description": t( "Générez des factures PDF conformes avec la TVA correcte pour tout pays UE.", "Generate compliant PDF invoices with correct VAT for any EU country.", "Erstellen Sie konforme PDF-Rechnungen mit korrekter MwSt für jedes EU-Land.", ), }, { "icon": "users", "title": t( "Données clients", "Customer Data", "Kundendaten", ), "description": t( "Possédez vos données clients. Exportez pour le marketing et la fidélisation.", "Own your customer data. Export for marketing and loyalty building.", "Besitzen Sie Ihre Kundendaten. Exportieren Sie für Marketing und Kundenbindung.", ), }, ], }, "pricing": { "enabled": True, "title": t( "Tarification simple et transparente", "Simple, Transparent Pricing", "Einfache, transparente Preise", ), "subtitle": t( "Choisissez le plan adapté à votre entreprise. Tous les plans incluent un essai gratuit.", "Choose the plan that fits your business. All plans include a free trial.", "Wählen Sie den Plan, der zu Ihrem Unternehmen passt. Alle Pläne beinhalten eine kostenlose Testversion.", ), "use_subscription_tiers": True, "monthly_label": t("Mensuel", "Monthly", "Monatlich"), "annual_label": t("Annuel", "Annual", "Jährlich"), "save_text": t("Économisez 2 mois !", "Save 2 months!", "Sparen Sie 2 Monate!"), "popular_badge": t("LE PLUS POPULAIRE", "MOST POPULAR", "AM BELIEBTESTEN"), "cta_text": t("Essai gratuit", "Start Free Trial", "Kostenlos testen"), "per_month_label": t("/mois", "/month", "/Monat"), "per_year_label": t("/an", "/year", "/Jahr"), "coming_soon_text": t( "Plans tarifaires bientôt disponibles", "Pricing plans coming soon", "Preispläne demnächst verfügbar", ), }, "cta": { "enabled": True, "title": t( "Prêt à optimiser vos commandes ?", "Ready to Streamline Your Orders?", "Bereit, Ihre Bestellungen zu optimieren?", ), "subtitle": t( "Rejoignez les vendeurs Letzshop qui font confiance à Orion pour leur gestion de commandes.", "Join Letzshop stores who trust Orion for their order management.", "Schließen Sie sich Letzshop-Händlern an, die Orion für ihre Bestellverwaltung vertrauen.", ), "background_type": "gradient", "buttons": [ { "text": t( "Essai gratuit", "Start Free Trial", "Kostenlos testen", ), "url": "/signup", "style": "primary", }, ], }, } def _loyalty_homepage_sections() -> dict: """Loyalty (rewardflow.lu) — loyalty program focused homepage.""" return { "hero": { "enabled": True, "badge_text": t( "Essai gratuit — Aucune carte de crédit requise", "Free Trial — No Credit Card Required", "Kostenlose Testversion — Keine Kreditkarte erforderlich", ), "title": t( "Fidélisation client simplifiée", "Customer Loyalty Made Simple", "Kundentreue leicht gemacht", ), "subtitle": t( "Créez des programmes de fidélité engageants avec points, récompenses et niveaux. Conçu pour les commerces luxembourgeois.", "Create engaging loyalty programs with points, rewards, and tiers. Built for Luxembourg businesses.", "Erstellen Sie ansprechende Treueprogramme mit Punkten, Prämien und Stufen. Für luxemburgische Unternehmen.", ), "background_type": "gradient", "buttons": [ { "text": t( "Essai gratuit", "Start Free Trial", "Kostenlos testen", ), "url": "/signup", "style": "primary", }, { "text": t( "Voir les fonctionnalités", "See Features", "Funktionen ansehen", ), "url": "#features", "style": "secondary", }, ], }, "features": { "enabled": True, "title": t( "Tout pour fidéliser vos clients", "Everything to Build Customer Loyalty", "Alles für die Kundenbindung", ), "subtitle": t( "Des outils puissants pour créer et gérer vos programmes de fidélité", "Powerful tools to create and manage your loyalty programs", "Leistungsstarke Tools zum Erstellen und Verwalten Ihrer Treueprogramme", ), "layout": "grid", "features": [ { "icon": "star", "title": t( "Système de points", "Points System", "Punktesystem", ), "description": t( "Attribuez des points pour chaque achat. Règles flexibles et multiplicateurs personnalisables.", "Award points for every purchase. Flexible rules and customizable multipliers.", "Vergeben Sie Punkte für jeden Einkauf. Flexible Regeln und anpassbare Multiplikatoren.", ), }, { "icon": "gift", "title": t( "Catalogue de récompenses", "Rewards Catalog", "Prämienkatalog", ), "description": t( "Créez un catalogue de récompenses attrayant. Produits, remises ou expériences exclusives.", "Create an attractive rewards catalog. Products, discounts, or exclusive experiences.", "Erstellen Sie einen attraktiven Prämienkatalog. Produkte, Rabatte oder exklusive Erlebnisse.", ), }, { "icon": "trending-up", "title": t( "Gestion des niveaux", "Tier Management", "Stufenverwaltung", ), "description": t( "Bronze, Argent, Or — motivez vos clients avec des niveaux de fidélité progressifs.", "Bronze, Silver, Gold — motivate customers with progressive loyalty tiers.", "Bronze, Silber, Gold — motivieren Sie Kunden mit progressiven Treuestufen.", ), }, { "icon": "chart-bar", "title": t( "Analytique avancée", "Advanced Analytics", "Erweiterte Analytik", ), "description": t( "Suivez l'engagement, les taux de rétention et le ROI de vos programmes.", "Track engagement, retention rates, and program ROI.", "Verfolgen Sie Engagement, Bindungsraten und Programm-ROI.", ), }, ], }, "pricing": { "enabled": True, "title": t( "Tarification simple et transparente", "Simple, Transparent Pricing", "Einfache, transparente Preise", ), "subtitle": t( "Choisissez le plan adapté à votre programme de fidélité.", "Choose the plan that fits your loyalty program.", "Wählen Sie den Plan, der zu Ihrem Treueprogramm passt.", ), "use_subscription_tiers": True, "monthly_label": t("Mensuel", "Monthly", "Monatlich"), "annual_label": t("Annuel", "Annual", "Jährlich"), "save_text": t("Économisez 2 mois !", "Save 2 months!", "Sparen Sie 2 Monate!"), "popular_badge": t("LE PLUS POPULAIRE", "MOST POPULAR", "AM BELIEBTESTEN"), "cta_text": t("Essai gratuit", "Start Free Trial", "Kostenlos testen"), "per_month_label": t("/mois", "/month", "/Monat"), "per_year_label": t("/an", "/year", "/Jahr"), "coming_soon_text": t( "Plans tarifaires bientôt disponibles", "Pricing plans coming soon", "Preispläne demnächst verfügbar", ), }, "cta": { "enabled": True, "title": t( "Prêt à fidéliser vos clients ?", "Ready to Build Customer Loyalty?", "Bereit, Kundentreue aufzubauen?", ), "subtitle": t( "Commencez votre programme de fidélité dès aujourd'hui. Essai gratuit, sans engagement.", "Start your loyalty program today. Free trial, no commitment.", "Starten Sie Ihr Treueprogramm noch heute. Kostenlose Testversion, ohne Verpflichtung.", ), "background_type": "gradient", "buttons": [ { "text": t( "Essai gratuit", "Start Free Trial", "Kostenlos testen", ), "url": "/signup", "style": "primary", }, ], }, } def _hostwizard_homepage_sections() -> dict: """hostwizard.lu — web hosting & website building landing page.""" return { "hero": { "enabled": True, "title": t( "Votre site web professionnel au Luxembourg", "Your Professional Website in Luxembourg", "Ihre professionelle Website in Luxemburg", "Är professionell Websäit zu Lëtzebuerg", ), "subtitle": t( "Sites web, domaines, e-mail et hébergement — tout en un pour les entreprises luxembourgeoises.", "Websites, domains, email, and hosting — all-in-one for Luxembourg businesses.", "Websites, Domains, E-Mail und Hosting — alles in einem für luxemburgische Unternehmen.", "Websäiten, Domänen, E-Mail an Hosting — alles an engem fir lëtzebuerger Betriber.", ), "cta_text": t("Demander un devis", "Get a Quote", "Angebot anfordern", "Offert ufroen"), "cta_url": "/contact", }, "features": { "enabled": True, "title": t("Nos services", "Our Services", "Unsere Dienstleistungen", "Eis Servicer"), "items": [ { "title": t("Création de sites web", "Website Creation", "Website-Erstellung", "Websäit Erstellen"), "description": t( "Sites web professionnels avec CMS intégré pour gérer votre contenu facilement.", "Professional websites with integrated CMS to manage your content easily.", "Professionelle Websites mit integriertem CMS zur einfachen Verwaltung Ihrer Inhalte.", "Professionell Websäiten mat integréiertem CMS fir Ären Inhalt einfach ze geréieren.", ), "icon": "globe", }, { "title": t("Noms de domaine", "Domain Names", "Domainnamen", "Domänennimm"), "description": t( "Enregistrement et gestion de domaines .lu et internationaux.", "Registration and management of .lu and international domains.", "Registrierung und Verwaltung von .lu und internationalen Domains.", "Registréierung a Gestioun vun .lu an internationalen Domänen.", ), "icon": "at-symbol", }, { "title": t("E-mail professionnel", "Professional Email", "Professionelle E-Mail", "Professionell E-Mail"), "description": t( "Boîtes mail personnalisées avec votre nom de domaine.", "Custom mailboxes with your domain name.", "Individuelle Postfächer mit Ihrem Domainnamen.", "Personaliséiert Postfächer mat Ärem Domännumm.", ), "icon": "mail", }, { "title": t("Hébergement & SSL", "Hosting & SSL", "Hosting & SSL", "Hosting & SSL"), "description": t( "Hébergement sécurisé avec certificat SSL inclus.", "Secure hosting with included SSL certificate.", "Sicheres Hosting mit inkludiertem SSL-Zertifikat.", "Séchert Hosting mat abegraff SSL-Zertifikat.", ), "icon": "shield-check", }, ], }, "pricing": { "enabled": True, "title": t("Tarifs", "Pricing", "Preise", "Präisser"), "subtitle": t( "Des formules adaptées à chaque entreprise.", "Plans tailored to every business.", "Pläne für jedes Unternehmen.", "Pläng fir all Betrib.", ), }, "cta": { "enabled": True, "title": t( "Prêt à mettre votre entreprise en ligne ?", "Ready to bring your business online?", "Bereit, Ihr Unternehmen online zu bringen?", "Prett fir Äre Betrib online ze bréngen?", ), "subtitle": t( "Contactez-nous pour un site web gratuit de démonstration.", "Contact us for a free demo website.", "Kontaktieren Sie uns für eine kostenlose Demo-Website.", "Kontaktéiert eis fir eng gratis Demo-Websäit.", ), "cta_text": t("Nous contacter", "Contact Us", "Kontaktieren", "Kontaktéiert eis"), "cta_url": "/contact", }, } HOMEPAGE_SECTIONS = { "main": _wizard_homepage_sections, "oms": _oms_homepage_sections, "loyalty": _loyalty_homepage_sections, "hosting": _hostwizard_homepage_sections, } # ============================================================================ # PLATFORM MARKETING PAGES (is_platform_page=True) # ============================================================================ def _get_platform_pages(platform_code: str) -> list[dict]: """Get platform marketing pages for a given platform code.""" if platform_code == "main": return [ { "slug": "about", "title": "About Wizard", "title_translations": tt("About Wizard", "À propos de Wizard", "Über Wizard", "Iwwer Wizard"), "content": """

About Wizard

Wizard is the digital toolkit for Luxembourg businesses. We provide integrated solutions for order management, customer loyalty, and online presence.

Our Mission

To empower Luxembourg businesses with modern, easy-to-use digital tools that help them grow and thrive in the digital age.

Our Solutions

Built in Luxembourg

We understand the unique needs of Luxembourg commerce — from multilingual support (FR/DE/EN) to EU VAT compliance.

""", "content_translations": tt( # English """

About Wizard

Wizard is the digital toolkit for Luxembourg businesses. We provide integrated solutions for order management, customer loyalty, and online presence.

Our Mission

To empower Luxembourg businesses with modern, easy-to-use digital tools that help them grow and thrive in the digital age.

Our Solutions

Built in Luxembourg

We understand the unique needs of Luxembourg commerce — from multilingual support (FR/DE/EN) to EU VAT compliance.

""", # French """

À propos de Wizard

Wizard est la boîte à outils numérique pour les entreprises luxembourgeoises. Nous proposons des solutions intégrées pour la gestion des commandes, la fidélisation client et la présence en ligne.

Notre mission

Donner aux entreprises luxembourgeoises des outils numériques modernes et faciles à utiliser pour les aider à croître et prospérer à l'ère du numérique.

Nos solutions

Conçu au Luxembourg

Nous comprenons les besoins uniques du commerce luxembourgeois — du support multilingue (FR/DE/EN) à la conformité TVA européenne.

""", # German """

Über Wizard

Wizard ist das digitale Toolkit für luxemburgische Unternehmen. Wir bieten integrierte Lösungen für Bestellverwaltung, Kundenbindung und Online-Präsenz.

Unsere Mission

Luxemburgische Unternehmen mit modernen, benutzerfreundlichen digitalen Werkzeugen zu stärken, die ihnen helfen, im digitalen Zeitalter zu wachsen und zu gedeihen.

Unsere Lösungen

Made in Luxembourg

Wir verstehen die einzigartigen Bedürfnisse des luxemburgischen Handels — von mehrsprachiger Unterstützung (FR/DE/EN) bis zur EU-MwSt-Konformität.

""", # Luxembourgish """

Iwwer Wizard

Wizard ass den digitalen Toolkit fir lëtzebuerger Betriber. Mir bidden integréiert Léisunge fir Bestellverwaltung, Clientsfidélisatioun an Online-Präsenz.

Eis Missioun

Lëtzebuerger Betriber mat modernen, einfach ze benotzenden digitale Werkzeuger ze stäerken, fir hinnen ze hëllefen am digitalen Zäitalter ze wuessen.

Eis Léisungen

Gemaach zu Lëtzebuerg

Mir verstinn déi eenzegaarteg Besoinë vum lëtzebuerger Commerce — vu méisproocheger Ënnerstëtzung (FR/DE/EN) bis zur EU-MwSt-Konformitéit.

""", ), "meta_description": "Wizard — the digital toolkit for Luxembourg businesses. Order management, loyalty programs, and more.", "show_in_footer": True, "show_in_header": True, "display_order": 1, }, { "slug": "contact", "title": "Contact Us", "title_translations": tt("Contact Us", "Contactez-nous", "Kontakt", "Kontakt"), "content": """

Contact Wizard

We'd love to hear from you. Get in touch with our team.

General Inquiries

Sales

Interested in our solutions for your business?

Support

Already a customer? Our support team is here to help.

Office

Luxembourg

""", "content_translations": tt( # English """

Contact Wizard

We'd love to hear from you. Get in touch with our team.

General Inquiries

Sales

Interested in our solutions for your business?

Support

Already a customer? Our support team is here to help.

Office

Luxembourg

""", # French """

Contacter Wizard

Nous serions ravis d'avoir de vos nouvelles. Contactez notre équipe.

Renseignements généraux

Ventes

Intéressé par nos solutions pour votre entreprise ?

Support

Déjà client ? Notre équipe de support est là pour vous aider.

Bureau

Luxembourg

""", # German """

Kontaktieren Sie Wizard

Wir freuen uns, von Ihnen zu hören. Nehmen Sie Kontakt mit unserem Team auf.

Allgemeine Anfragen

Vertrieb

Interessiert an unseren Lösungen für Ihr Unternehmen?

Support

Bereits Kunde? Unser Support-Team hilft Ihnen gerne weiter.

Büro

Luxemburg

""", # Luxembourgish """

Wizard kontaktéieren

Mir géife gäre vun Iech héieren. Kontaktéiert eist Team.

Allgemeng Ufroen

Verkaf

Interesséiert un eise Léisunge fir Äre Betrib?

Support

Schonn Client? Eist Support-Team ass do fir Iech ze hëllefen.

Büro

Lëtzebuerg

""", ), "meta_description": "Contact the Wizard team for inquiries about our business solutions.", "show_in_footer": True, "show_in_header": True, "display_order": 2, }, { "slug": "faq", "title": "FAQ", "title_translations": tt("FAQ", "FAQ", "FAQ", "FAQ"), "content": """

Frequently Asked Questions

General

What is Wizard?

Wizard is a suite of digital tools for Luxembourg businesses, including order management (OMS), customer loyalty programs, and website building.

Who is Wizard for?

Wizard is designed for Luxembourg businesses of all sizes — from individual Letzshop sellers to multi-store retailers.

Pricing & Billing

Is there a free trial?

Yes! All our solutions offer a free trial period. No credit card required to start.

Can I switch plans?

Yes, you can upgrade or downgrade your plan at any time.

Technical

What languages are supported?

Our platform supports French, German, and English — the three official languages of Luxembourg.

Is my data secure?

Yes. We use industry-standard encryption and follow GDPR regulations for data protection.

""", "content_translations": tt( # English """

Frequently Asked Questions

General

What is Wizard?

Wizard is a suite of digital tools for Luxembourg businesses, including order management (OMS), customer loyalty programs, and website building.

Who is Wizard for?

Wizard is designed for Luxembourg businesses of all sizes — from individual Letzshop sellers to multi-store retailers.

Pricing & Billing

Is there a free trial?

Yes! All our solutions offer a free trial period. No credit card required to start.

Can I switch plans?

Yes, you can upgrade or downgrade your plan at any time.

Technical

What languages are supported?

Our platform supports French, German, and English — the three official languages of Luxembourg.

Is my data secure?

Yes. We use industry-standard encryption and follow GDPR regulations for data protection.

""", # French """

Questions fréquemment posées

Général

Qu'est-ce que Wizard ?

Wizard est une suite d'outils numériques pour les entreprises luxembourgeoises, comprenant la gestion des commandes (OMS), les programmes de fidélité client et la création de sites web.

À qui s'adresse Wizard ?

Wizard est conçu pour les entreprises luxembourgeoises de toutes tailles — des vendeurs Letzshop individuels aux détaillants multi-boutiques.

Tarifs et facturation

Y a-t-il un essai gratuit ?

Oui ! Toutes nos solutions offrent une période d'essai gratuite. Aucune carte de crédit requise pour commencer.

Puis-je changer de plan ?

Oui, vous pouvez passer à un plan supérieur ou inférieur à tout moment.

Technique

Quelles langues sont supportées ?

Notre plateforme supporte le français, l'allemand et l'anglais — les trois langues officielles du Luxembourg.

Mes données sont-elles sécurisées ?

Oui. Nous utilisons un chiffrement aux normes de l'industrie et respectons les réglementations RGPD pour la protection des données.

""", # German """

Häufig gestellte Fragen

Allgemein

Was ist Wizard?

Wizard ist eine Suite digitaler Werkzeuge für luxemburgische Unternehmen, einschließlich Bestellverwaltung (OMS), Kundenbindungsprogramme und Website-Erstellung.

Für wen ist Wizard gedacht?

Wizard ist für luxemburgische Unternehmen jeder Größe konzipiert — von einzelnen Letzshop-Verkäufern bis hin zu Multi-Store-Einzelhändlern.

Preise und Abrechnung

Gibt es eine kostenlose Testversion?

Ja! Alle unsere Lösungen bieten eine kostenlose Testphase. Keine Kreditkarte erforderlich.

Kann ich den Plan wechseln?

Ja, Sie können Ihren Plan jederzeit upgraden oder downgraden.

Technik

Welche Sprachen werden unterstützt?

Unsere Plattform unterstützt Französisch, Deutsch und Englisch — die drei offiziellen Sprachen Luxemburgs.

Sind meine Daten sicher?

Ja. Wir verwenden branchenübliche Verschlüsselung und befolgen die DSGVO-Vorschriften zum Datenschutz.

""", # Luxembourgish """

Heefeg gestallte Froen

Allgemeng

Wat ass Wizard?

Wizard ass eng Suite vun digitale Werkzeuger fir lëtzebuerger Betriber, inklusiv Bestellverwaltung (OMS), Clientsfidélisatiounsprogrammer a Website-Erstellen.

Fir wie ass Wizard geduecht?

Wizard ass fir lëtzebuerger Betriber vun all Gréisst konzipéiert — vun eenzelne Letzshop-Verkeefer bis zu Multi-Store-Detaillisten.

Präisser a Rechnung

Gëtt et eng gratis Testversioun?

Jo! All eis Léisunge bidden eng gratis Testphas. Keng Kreditkaart néideg fir unzefänken.

Kann ech de Plang wiesselen?

Jo, Dir kënnt Äre Plang jidderzäit upgraden oder downgraden.

Technik

Wéi eng Sproochen ginn ënnerstëtzt?

Eis Plattform ënnerstëtzt Franséisch, Däitsch an Englesch — déi dräi offiziell Sproochen vu Lëtzebuerg.

Sinn meng Donnéeën sécher?

Jo. Mir benotzen Industriestandard-Verschlësselung a befollegen d'DSGVO-Virschrëften fir den Dateschutz.

""", ), "meta_description": "Frequently asked questions about Wizard solutions for Luxembourg businesses.", "show_in_footer": True, "show_in_header": False, "display_order": 3, }, ] if platform_code == "oms": return [ { "slug": "about", "title": "About OMS", "title_translations": tt("About OMS", "À propos d'OMS", "Über OMS", "Iwwer OMS"), "content": """

About OMS by Wizard

OMS (omsflow.lu) is a lightweight order management system built specifically for Letzshop sellers in Luxembourg.

Why OMS?

Letzshop is a great marketplace, but it doesn't give sellers the back-office tools they need. OMS fills that gap with:

Built for Luxembourg

From multilingual support to Luxembourg VAT compliance, OMS is designed for the local market.

""", "content_translations": tt( # English """

About OMS by Wizard

OMS (omsflow.lu) is a lightweight order management system built specifically for Letzshop sellers in Luxembourg.

Why OMS?

Letzshop is a great marketplace, but it doesn't give sellers the back-office tools they need. OMS fills that gap with:

Built for Luxembourg

From multilingual support to Luxembourg VAT compliance, OMS is designed for the local market.

""", # French """

À propos d'OMS par Wizard

OMS (omsflow.lu) est un système de gestion de commandes léger conçu spécifiquement pour les vendeurs Letzshop au Luxembourg.

Pourquoi OMS ?

Letzshop est une excellente marketplace, mais elle ne fournit pas aux vendeurs les outils de back-office dont ils ont besoin. OMS comble ce manque avec :

Conçu pour le Luxembourg

Du support multilingue à la conformité TVA luxembourgeoise, OMS est conçu pour le marché local.

""", # German """

Über OMS von Wizard

OMS (omsflow.lu) ist ein leichtgewichtiges Bestellverwaltungssystem, das speziell für Letzshop-Verkäufer in Luxemburg entwickelt wurde.

Warum OMS?

Letzshop ist ein großartiger Marktplatz, bietet Verkäufern jedoch nicht die Back-Office-Tools, die sie benötigen. OMS schließt diese Lücke mit:

Für Luxemburg entwickelt

Von mehrsprachiger Unterstützung bis zur luxemburgischen MwSt-Konformität — OMS ist für den lokalen Markt konzipiert.

""", # Luxembourgish """

Iwwer OMS vun Wizard

OMS (omsflow.lu) ass e liichten Bestellverwaltungssystem, dat speziell fir Letzshop-Verkeefer zu Lëtzebuerg entwéckelt gouf.

Firwat OMS?

Letzshop ass e super Marché, awer et gëtt de Verkeefer net déi Back-Office-Tools déi si brauchen. OMS fëllt dës Lück mat:

Fir Lëtzebuerg entwéckelt

Vu méisproocheger Ënnerstëtzung bis zur lëtzebuerger MwSt-Konformitéit — OMS ass fir de lokale Marché konzipéiert.

""", ), "meta_description": "OMS — lightweight order management for Letzshop sellers. Manage orders, inventory, and invoicing.", "show_in_footer": True, "show_in_header": True, "display_order": 1, }, { "slug": "contact", "title": "Contact OMS Support", "title_translations": tt("Contact OMS Support", "Contacter le support OMS", "OMS Support kontaktieren", "OMS Support kontaktéieren"), "content": """

Contact OMS Support

Need help with your order management? We're here for you.

Support

Sales

Interested in OMS for your Letzshop store?

""", "content_translations": tt( # English """

Contact OMS Support

Need help with your order management? We're here for you.

Support

Sales

Interested in OMS for your Letzshop store?

""", # French """

Contacter le support OMS

Besoin d'aide avec votre gestion de commandes ? Nous sommes là pour vous.

Support

Ventes

Intéressé par OMS pour votre boutique Letzshop ?

""", # German """

OMS Support kontaktieren

Brauchen Sie Hilfe bei Ihrer Bestellverwaltung? Wir sind für Sie da.

Support

Vertrieb

Interessiert an OMS für Ihren Letzshop-Shop?

""", # Luxembourgish """

OMS Support kontaktéieren

Braucht Dir Hëllef mat Ärer Bestellverwaltung? Mir sinn do fir Iech.

Support

Verkaf

Interesséiert un OMS fir Äre Letzshop-Shop?

""", ), "meta_description": "Contact the OMS support team for help with order management.", "show_in_footer": True, "show_in_header": True, "display_order": 2, }, { "slug": "faq", "title": "OMS FAQ", "title_translations": tt("OMS FAQ", "FAQ OMS", "OMS FAQ", "OMS FAQ"), "content": """

Frequently Asked Questions

Do I need a Letzshop account?

While OMS works best with Letzshop integration, you can also use it as a standalone order management tool.

How does Letzshop sync work?

Enter your Letzshop API credentials and orders sync automatically. Setup takes about 2 minutes.

Is EU VAT invoicing included?

Yes, EU VAT invoicing is available on Professional and Enterprise plans. Luxembourg VAT is available on all plans.

Can I export my data?

Yes, you can export customers, orders, and invoices at any time.

Is there a free trial?

Yes! Start with a free trial, no credit card required.

""", "content_translations": tt( # English """

Frequently Asked Questions

Do I need a Letzshop account?

While OMS works best with Letzshop integration, you can also use it as a standalone order management tool.

How does Letzshop sync work?

Enter your Letzshop API credentials and orders sync automatically. Setup takes about 2 minutes.

Is EU VAT invoicing included?

Yes, EU VAT invoicing is available on Professional and Enterprise plans. Luxembourg VAT is available on all plans.

Can I export my data?

Yes, you can export customers, orders, and invoices at any time.

Is there a free trial?

Yes! Start with a free trial, no credit card required.

""", # French """

Questions fréquemment posées

Ai-je besoin d'un compte Letzshop ?

Bien qu'OMS fonctionne mieux avec l'intégration Letzshop, vous pouvez aussi l'utiliser comme outil de gestion de commandes autonome.

Comment fonctionne la synchronisation Letzshop ?

Entrez vos identifiants API Letzshop et les commandes se synchronisent automatiquement. La configuration prend environ 2 minutes.

La facturation TVA UE est-elle incluse ?

Oui, la facturation TVA UE est disponible sur les plans Professionnel et Entreprise. La TVA luxembourgeoise est disponible sur tous les plans.

Puis-je exporter mes données ?

Oui, vous pouvez exporter les clients, commandes et factures à tout moment.

Y a-t-il un essai gratuit ?

Oui ! Commencez avec un essai gratuit, aucune carte de crédit requise.

""", # German """

Häufig gestellte Fragen

Brauche ich ein Letzshop-Konto?

OMS funktioniert am besten mit der Letzshop-Integration, kann aber auch als eigenständiges Bestellverwaltungstool verwendet werden.

Wie funktioniert die Letzshop-Synchronisation?

Geben Sie Ihre Letzshop-API-Zugangsdaten ein und die Bestellungen werden automatisch synchronisiert. Die Einrichtung dauert etwa 2 Minuten.

Ist die EU-MwSt-Rechnungsstellung enthalten?

Ja, die EU-MwSt-Rechnungsstellung ist in den Professional- und Enterprise-Plänen verfügbar. Luxemburger MwSt ist in allen Plänen verfügbar.

Kann ich meine Daten exportieren?

Ja, Sie können Kunden, Bestellungen und Rechnungen jederzeit exportieren.

Gibt es eine kostenlose Testversion?

Ja! Starten Sie mit einer kostenlosen Testversion, keine Kreditkarte erforderlich.

""", # Luxembourgish """

Heefeg gestallte Froen

Brauch ech e Letzshop-Konto?

OMS funktionéiert am beschten mat der Letzshop-Integratioun, kann awer och als eegenstännegt Bestellverwaltungs-Tool benotzt ginn.

Wéi funktionéiert d'Letzshop-Synchronisatioun?

Gitt Är Letzshop-API-Zougangsdaten an an d'Bestellunge synchroniséiere sech automatesch. D'Astellung dauert ongeféier 2 Minutten.

Ass d'EU-MwSt-Rechnungsstellung abegraff?

Jo, d'EU-MwSt-Rechnungsstellung ass an de Professional- a Enterprise-Pläng disponibel. Lëtzebuerger MwSt ass an alle Pläng disponibel.

Kann ech meng Donnéeën exportéieren?

Jo, Dir kënnt Clienten, Bestellungen a Rechnungen jidderzäit exportéieren.

Gëtt et eng gratis Testversioun?

Jo! Start mat enger gratis Testversioun, keng Kreditkaart néideg.

""", ), "meta_description": "Frequently asked questions about OMS order management for Letzshop sellers.", "show_in_footer": True, "show_in_header": False, "display_order": 3, }, ] if platform_code == "loyalty": return [ { "slug": "about", "title": "About Loyalty", "title_translations": tt("About Loyalty", "À propos de Loyalty", "Über Loyalty", "Iwwer Loyalty"), "content": """

About Loyalty by Wizard

Loyalty (rewardflow.lu) helps Luxembourg businesses create engaging customer loyalty programs.

What We Offer

Built for Luxembourg

Multilingual support (FR/DE/EN) and local business features out of the box.

""", "content_translations": tt( # English """

About Loyalty by Wizard

Loyalty (rewardflow.lu) helps Luxembourg businesses create engaging customer loyalty programs.

What We Offer

Built for Luxembourg

Multilingual support (FR/DE/EN) and local business features out of the box.

""", # French """

À propos de Loyalty par Wizard

Loyalty (rewardflow.lu) aide les entreprises luxembourgeoises à créer des programmes de fidélité client engageants.

Ce que nous offrons

Conçu pour le Luxembourg

Support multilingue (FR/DE/EN) et fonctionnalités adaptées aux entreprises locales.

""", # German """

Über Loyalty von Wizard

Loyalty (rewardflow.lu) hilft luxemburgischen Unternehmen, ansprechende Kundenbindungsprogramme zu erstellen.

Was wir bieten

Für Luxemburg entwickelt

Mehrsprachige Unterstützung (FR/DE/EN) und lokale Geschäftsfunktionen von Anfang an.

""", # Luxembourgish """

Iwwer Loyalty vun Wizard

Loyalty (rewardflow.lu) hëlleft lëtzebuerger Betriber, engagéierend Clientsfidélisatiounsprogrammer ze erstellen.

Wat mir bidden

Fir Lëtzebuerg entwéckelt

Méisproocheg Ënnerstëtzung (FR/DE/EN) a lokal Geschäftsfunktiounen vun Ufank un.

""", ), "meta_description": "Loyalty — customer loyalty programs for Luxembourg businesses. Points, rewards, and tiers.", "show_in_footer": True, "show_in_header": True, "display_order": 1, }, { "slug": "contact", "title": "Contact Loyalty Support", "title_translations": tt("Contact Loyalty Support", "Contacter le support Loyalty", "Loyalty Support kontaktieren", "Loyalty Support kontaktéieren"), "content": """

Contact Loyalty Support

Need help with your loyalty program? We're here for you.

Support

Sales

Interested in a loyalty program for your business?

""", "content_translations": tt( # English """

Contact Loyalty Support

Need help with your loyalty program? We're here for you.

Support

Sales

Interested in a loyalty program for your business?

""", # French """

Contacter le support Loyalty

Besoin d'aide avec votre programme de fidélité ? Nous sommes là pour vous.

Support

Ventes

Intéressé par un programme de fidélité pour votre entreprise ?

""", # German """

Loyalty Support kontaktieren

Brauchen Sie Hilfe mit Ihrem Treueprogramm? Wir sind für Sie da.

Support

Vertrieb

Interessiert an einem Treueprogramm für Ihr Unternehmen?

""", # Luxembourgish """

Loyalty Support kontaktéieren

Braucht Dir Hëllef mat Ärem Treiëprogramm? Mir sinn do fir Iech.

Support

Verkaf

Interesséiert un engem Treiëprogramm fir Äre Betrib?

""", ), "meta_description": "Contact the Loyalty support team for help with your loyalty program.", "show_in_footer": True, "show_in_header": True, "display_order": 2, }, { "slug": "faq", "title": "Loyalty FAQ", "title_translations": tt("Loyalty FAQ", "FAQ Loyalty", "Loyalty FAQ", "Loyalty FAQ"), "content": """

Frequently Asked Questions

How do loyalty points work?

You define the rules — for example, 1 point per euro spent. Points can be redeemed for rewards from your catalog.

Can I customize the loyalty tiers?

Yes! You can create custom tiers with different names, thresholds, and benefits.

How do customers check their points?

Customers can check their balance through a personalized loyalty page or at your point of sale.

Is there a free trial?

Yes! Start with a free trial, no credit card required.

""", "content_translations": tt( # English """

Frequently Asked Questions

How do loyalty points work?

You define the rules — for example, 1 point per euro spent. Points can be redeemed for rewards from your catalog.

Can I customize the loyalty tiers?

Yes! You can create custom tiers with different names, thresholds, and benefits.

How do customers check their points?

Customers can check their balance through a personalized loyalty page or at your point of sale.

Is there a free trial?

Yes! Start with a free trial, no credit card required.

""", # French """

Questions fréquemment posées

Comment fonctionnent les points de fidélité ?

Vous définissez les règles — par exemple, 1 point par euro dépensé. Les points peuvent être échangés contre des récompenses de votre catalogue.

Puis-je personnaliser les niveaux de fidélité ?

Oui ! Vous pouvez créer des niveaux personnalisés avec des noms, seuils et avantages différents.

Comment les clients vérifient-ils leurs points ?

Les clients peuvent consulter leur solde via une page de fidélité personnalisée ou à votre point de vente.

Y a-t-il un essai gratuit ?

Oui ! Commencez avec un essai gratuit, aucune carte de crédit requise.

""", # German """

Häufig gestellte Fragen

Wie funktionieren Treuepunkte?

Sie definieren die Regeln — zum Beispiel 1 Punkt pro ausgegebenem Euro. Punkte können gegen Prämien aus Ihrem Katalog eingelöst werden.

Kann ich die Treuestufen anpassen?

Ja! Sie können benutzerdefinierte Stufen mit verschiedenen Namen, Schwellenwerten und Vorteilen erstellen.

Wie überprüfen Kunden ihre Punkte?

Kunden können ihren Kontostand über eine personalisierte Treueseite oder an Ihrer Verkaufsstelle überprüfen.

Gibt es eine kostenlose Testversion?

Ja! Starten Sie mit einer kostenlosen Testversion, keine Kreditkarte erforderlich.

""", # Luxembourgish """

Heefeg gestallte Froen

Wéi funktionéieren Treiëpunkten?

Dir definéiert d'Reegelen — zum Beispill 1 Punkt pro ausgeebenen Euro. Punkten kënnen géint Belounungen aus Ärem Katalog ageléist ginn.

Kann ech d'Treiëstufe personaliséieren?

Jo! Dir kënnt personaliséiert Stufe mat verschiddenen Nimm, Schwellenwäerter a Virdeeler erstellen.

Wéi kucken d'Clienten hir Punkten no?

Clientë kënnen hire Solde iwwer eng personaliséiert Treiësäit oder un Ärer Verkafsstell nokucken.

Gëtt et eng gratis Testversioun?

Jo! Start mat enger gratis Testversioun, keng Kreditkaart néideg.

""", ), "meta_description": "Frequently asked questions about Loyalty customer loyalty programs.", "show_in_footer": True, "show_in_header": False, "display_order": 3, }, ] if platform_code == "hosting": return [ { "slug": "about", "title": "About HostWizard", "title_translations": tt("About HostWizard", "À propos de HostWizard", "Über HostWizard", "Iwwer HostWizard"), "content": """

About HostWizard

HostWizard (hostwizard.lu) provides professional web hosting, domain registration, and website creation for Luxembourg businesses.

Our Services

Built for Luxembourg

Multilingual support (FR/DE/EN/LB) and tailored for the Luxembourg business landscape.

""", "content_translations": tt( # English """

About HostWizard

HostWizard (hostwizard.lu) provides professional web hosting, domain registration, and website creation for Luxembourg businesses.

Our Services

Built for Luxembourg

Multilingual support (FR/DE/EN/LB) and tailored for the Luxembourg business landscape.

""", # French """

À propos de HostWizard

HostWizard (hostwizard.lu) fournit l'hébergement web professionnel, l'enregistrement de domaines et la création de sites web pour les entreprises luxembourgeoises.

Nos services

Conçu pour le Luxembourg

Support multilingue (FR/DE/EN/LB) et adapté au paysage commercial luxembourgeois.

""", # German """

Über HostWizard

HostWizard (hostwizard.lu) bietet professionelles Webhosting, Domainregistrierung und Website-Erstellung für luxemburgische Unternehmen.

Unsere Dienstleistungen

Für Luxemburg entwickelt

Mehrsprachige Unterstützung (FR/DE/EN/LB) und maßgeschneidert für die luxemburgische Geschäftswelt.

""", # Luxembourgish """

Iwwer HostWizard

HostWizard (hostwizard.lu) bitt professionellt Webhosting, Domainregistréierung a Website-Erstellen fir lëtzebuerger Betriber.

Eis Servicer

Fir Lëtzebuerg entwéckelt

Méisproocheg Ënnerstëtzung (FR/DE/EN/LB) an ugepasst un d'lëtzebuerger Geschäftswelt.

""", ), "meta_description": "HostWizard — professional web hosting, domains, and website creation for Luxembourg businesses.", "show_in_footer": True, "show_in_header": True, "display_order": 1, }, { "slug": "services", "title": "Our Services", "title_translations": tt("Our Services", "Nos services", "Unsere Dienstleistungen", "Eis Servicer"), "content": """

HostWizard Services

Website Creation

We build professional websites for your business with our integrated CMS. You can edit your content anytime, or let us handle it for you.

Domain Names

Register and manage .lu domains and international domain names. We handle DNS configuration and renewals.

Professional Email

Get professional email addresses with your domain name (e.g., info@yourbusiness.lu). Multiple mailboxes available.

Hosting & SSL

Fast, secure hosting with free SSL certificates. Your website is always online and protected.

Website Maintenance

Ongoing updates, security patches, and content changes. We keep your website running smoothly.

""", "content_translations": tt( # English """

HostWizard Services

Website Creation

We build professional websites for your business with our integrated CMS. You can edit your content anytime, or let us handle it for you.

Domain Names

Register and manage .lu domains and international domain names. We handle DNS configuration and renewals.

Professional Email

Get professional email addresses with your domain name (e.g., info@yourbusiness.lu). Multiple mailboxes available.

Hosting & SSL

Fast, secure hosting with free SSL certificates. Your website is always online and protected.

Website Maintenance

Ongoing updates, security patches, and content changes. We keep your website running smoothly.

""", # French """

Services HostWizard

Création de sites web

Nous créons des sites web professionnels pour votre entreprise avec notre CMS intégré. Vous pouvez modifier votre contenu à tout moment, ou nous laisser le gérer pour vous.

Noms de domaine

Enregistrez et gérez des domaines .lu et des noms de domaine internationaux. Nous gérons la configuration DNS et les renouvellements.

E-mail professionnel

Obtenez des adresses e-mail professionnelles avec votre nom de domaine (ex. : info@votreentreprise.lu). Plusieurs boîtes mail disponibles.

Hébergement et SSL

Hébergement rapide et sécurisé avec certificats SSL gratuits. Votre site web est toujours en ligne et protégé.

Maintenance de site web

Mises à jour continues, correctifs de sécurité et modifications de contenu. Nous maintenons votre site web en bon état de fonctionnement.

""", # German """

HostWizard Dienstleistungen

Website-Erstellung

Wir erstellen professionelle Websites für Ihr Unternehmen mit unserem integrierten CMS. Sie können Ihre Inhalte jederzeit bearbeiten oder uns damit beauftragen.

Domainnamen

Registrieren und verwalten Sie .lu-Domains und internationale Domainnamen. Wir kümmern uns um DNS-Konfiguration und Verlängerungen.

Professionelle E-Mail

Erhalten Sie professionelle E-Mail-Adressen mit Ihrem Domainnamen (z.B. info@ihrunternehmen.lu). Mehrere Postfächer verfügbar.

Hosting und SSL

Schnelles, sicheres Hosting mit kostenlosen SSL-Zertifikaten. Ihre Website ist immer online und geschützt.

Website-Wartung

Laufende Updates, Sicherheitspatches und Inhaltsänderungen. Wir halten Ihre Website reibungslos am Laufen.

""", # Luxembourgish """

HostWizard Servicer

Website-Erstellen

Mir bauen professionell Websäite fir Äre Betrib mat eisem integréierte CMS. Dir kënnt Ären Inhalt jidderzäit änneren, oder loosst eis dat fir Iech maachen.

Domänennimm

Registréiert a geréiert .lu-Domänen an international Domänennimm. Mir këmmeren eis ëm DNS-Konfiguratioun an Erneierungen.

Professionell E-Mail

Kritt professionell E-Mail-Adressen mat Ärem Domännumm (z.B. info@ärebetrib.lu). Méi Postfächer disponibel.

Hosting an SSL

Séiert, séchert Hosting mat gratis SSL-Zertifikater. Är Websäit ass ëmmer online a geschützt.

Website-Wartung

Lafend Updates, Sécherheetspatches an Inhaltsännerungen. Mir halen Är Websäit reibungslos am Lafen.

""", ), "meta_description": "HostWizard services — website creation, domains, email, hosting, and maintenance for Luxembourg businesses.", "show_in_footer": True, "show_in_header": True, "display_order": 2, }, { "slug": "pricing", "title": "Pricing", "title_translations": tt("Pricing", "Tarifs", "Preise", "Präisser"), "content": """

HostWizard Pricing

Transparent pricing for all our services. No hidden fees.

Website Packages

Contact us for a personalized quote based on your needs. We start with a free POC (proof of concept) website so you can see the result before committing.

Domain Registration

.lu domains starting from €29/year. International domains available.

Email Hosting

Professional email from €5/mailbox/month.

Website Maintenance

Monthly maintenance plans starting from €49/month.

Contact us for a custom quote: info@hostwizard.lu

""", "content_translations": tt( # English """

HostWizard Pricing

Transparent pricing for all our services. No hidden fees.

Website Packages

Contact us for a personalized quote based on your needs. We start with a free POC (proof of concept) website so you can see the result before committing.

Domain Registration

.lu domains starting from €29/year. International domains available.

Email Hosting

Professional email from €5/mailbox/month.

Website Maintenance

Monthly maintenance plans starting from €49/month.

Contact us for a custom quote: info@hostwizard.lu

""", # French """

Tarifs HostWizard

Des tarifs transparents pour tous nos services. Aucun frais caché.

Forfaits sites web

Contactez-nous pour un devis personnalisé selon vos besoins. Nous commençons par un site POC (preuve de concept) gratuit pour que vous puissiez voir le résultat avant de vous engager.

Enregistrement de domaines

Domaines .lu à partir de 29 €/an. Domaines internationaux disponibles.

Hébergement e-mail

E-mail professionnel à partir de 5 €/boîte mail/mois.

Maintenance de site web

Plans de maintenance mensuels à partir de 49 €/mois.

Contactez-nous pour un devis personnalisé : info@hostwizard.lu

""", # German """

HostWizard Preise

Transparente Preise für alle unsere Dienstleistungen. Keine versteckten Gebühren.

Website-Pakete

Kontaktieren Sie uns für ein personalisiertes Angebot nach Ihren Bedürfnissen. Wir beginnen mit einer kostenlosen POC-Website (Proof of Concept), damit Sie das Ergebnis sehen können, bevor Sie sich verpflichten.

Domainregistrierung

.lu-Domains ab 29 €/Jahr. Internationale Domains verfügbar.

E-Mail-Hosting

Professionelle E-Mail ab 5 €/Postfach/Monat.

Website-Wartung

Monatliche Wartungspläne ab 49 €/Monat.

Kontaktieren Sie uns für ein individuelles Angebot: info@hostwizard.lu

""", # Luxembourgish """

HostWizard Präisser

Transparent Präisser fir all eis Servicer. Keng verstoppte Käschten.

Website-Paketen

Kontaktéiert eis fir en personaliséierten Devis no Äre Besoinë. Mir fänken mat enger gratis POC-Websäit (Proof of Concept) un, sou datt Dir d'Resultat gesitt ier Dir Iech engagéiert.

Domainregistréierung

.lu-Domänen ab 29 €/Joer. International Domänen disponibel.

E-Mail-Hosting

Professionell E-Mail ab 5 €/Postfach/Mount.

Website-Wartung

Monatslech Wartungspläng ab 49 €/Mount.

Kontaktéiert eis fir en individuellt Offert: info@hostwizard.lu

""", ), "meta_description": "HostWizard pricing — transparent pricing for websites, domains, email, and hosting.", "show_in_footer": True, "show_in_header": True, "display_order": 3, }, { "slug": "contact", "title": "Contact HostWizard", "title_translations": tt("Contact HostWizard", "Contacter HostWizard", "HostWizard kontaktieren", "HostWizard kontaktéieren"), "content": """

Contact HostWizard

Ready to bring your business online? Get in touch with our team.

General Inquiries

Sales

Interested in a website for your business?

Support

Already a customer? Our support team is here to help.

""", "content_translations": tt( # English """

Contact HostWizard

Ready to bring your business online? Get in touch with our team.

General Inquiries

Sales

Interested in a website for your business?

Support

Already a customer? Our support team is here to help.

""", # French """

Contacter HostWizard

Prêt à mettre votre entreprise en ligne ? Contactez notre équipe.

Renseignements généraux

Ventes

Intéressé par un site web pour votre entreprise ?

Support

Déjà client ? Notre équipe de support est là pour vous aider.

""", # German """

HostWizard kontaktieren

Bereit, Ihr Unternehmen online zu bringen? Nehmen Sie Kontakt mit unserem Team auf.

Allgemeine Anfragen

Vertrieb

Interessiert an einer Website für Ihr Unternehmen?

Support

Bereits Kunde? Unser Support-Team hilft Ihnen gerne weiter.

""", # Luxembourgish """

HostWizard kontaktéieren

Prett fir Äre Betrib online ze bréngen? Kontaktéiert eist Team.

Allgemeng Ufroen

Verkaf

Interesséiert un enger Websäit fir Äre Betrib?

Support

Schonn Client? Eist Support-Team ass do fir Iech ze hëllefen.

""", ), "meta_description": "Contact HostWizard for web hosting, domains, and website creation in Luxembourg.", "show_in_footer": True, "show_in_header": True, "display_order": 4, }, { "slug": "faq", "title": "FAQ", "title_translations": tt("FAQ", "FAQ", "FAQ", "FAQ"), "content": """

Frequently Asked Questions

What is HostWizard?

HostWizard provides web hosting, domain registration, email hosting, and website creation services for Luxembourg businesses.

How does the POC website work?

We create a free proof-of-concept website for your business. If you like it, we can make it your live website on your own domain.

What domains can I register?

We support .lu domains and most international domain extensions (.com, .eu, .net, etc.).

Do you offer multilingual websites?

Yes! Our CMS supports French, German, English, and Luxembourgish out of the box.

What is included in website maintenance?

Security updates, content changes, performance monitoring, and technical support.

""", "content_translations": tt( # English """

Frequently Asked Questions

What is HostWizard?

HostWizard provides web hosting, domain registration, email hosting, and website creation services for Luxembourg businesses.

How does the POC website work?

We create a free proof-of-concept website for your business. If you like it, we can make it your live website on your own domain.

What domains can I register?

We support .lu domains and most international domain extensions (.com, .eu, .net, etc.).

Do you offer multilingual websites?

Yes! Our CMS supports French, German, English, and Luxembourgish out of the box.

What is included in website maintenance?

Security updates, content changes, performance monitoring, and technical support.

""", # French """

Questions fréquemment posées

Qu'est-ce que HostWizard ?

HostWizard fournit des services d'hébergement web, d'enregistrement de domaines, d'hébergement e-mail et de création de sites web pour les entreprises luxembourgeoises.

Comment fonctionne le site web POC ?

Nous créons un site web gratuit de preuve de concept pour votre entreprise. Si il vous plaît, nous pouvons en faire votre site web en production sur votre propre domaine.

Quels domaines puis-je enregistrer ?

Nous supportons les domaines .lu et la plupart des extensions de domaines internationaux (.com, .eu, .net, etc.).

Proposez-vous des sites web multilingues ?

Oui ! Notre CMS supporte le français, l'allemand, l'anglais et le luxembourgeois nativement.

Qu'est-ce qui est inclus dans la maintenance du site web ?

Mises à jour de sécurité, modifications de contenu, surveillance des performances et support technique.

""", # German """

Häufig gestellte Fragen

Was ist HostWizard?

HostWizard bietet Webhosting, Domainregistrierung, E-Mail-Hosting und Website-Erstellung für luxemburgische Unternehmen.

Wie funktioniert die POC-Website?

Wir erstellen eine kostenlose Proof-of-Concept-Website für Ihr Unternehmen. Wenn sie Ihnen gefällt, können wir sie zu Ihrer Live-Website auf Ihrer eigenen Domain machen.

Welche Domains kann ich registrieren?

Wir unterstützen .lu-Domains und die meisten internationalen Domain-Endungen (.com, .eu, .net usw.).

Bieten Sie mehrsprachige Websites an?

Ja! Unser CMS unterstützt Französisch, Deutsch, Englisch und Luxemburgisch von Haus aus.

Was ist in der Website-Wartung enthalten?

Sicherheitsupdates, Inhaltsänderungen, Leistungsüberwachung und technischer Support.

""", # Luxembourgish """

Heefeg gestallte Froen

Wat ass HostWizard?

HostWizard bitt Webhosting, Domainregistréierung, E-Mail-Hosting a Website-Erstellen fir lëtzebuerger Betriber.

Wéi funktionéiert d'POC-Websäit?

Mir erstellen eng gratis Proof-of-Concept-Websäit fir Äre Betrib. Wann se Iech gefält, kënne mir se zu Ärer Live-Websäit op Ärer eegener Domän maachen.

Wéi eng Domäne kann ech registréieren?

Mir ënnerstëtzen .lu-Domänen an déi meescht international Domain-Endungen (.com, .eu, .net asw.).

Bitt Dir méisproocheg Websäiten un?

Jo! Eise CMS ënnerstëtzt Franséisch, Däitsch, Englesch a Lëtzebuergesch vun Ufank un.

Wat ass an der Website-Wartung abegraff?

Sécherheetsupdaten, Inhaltsännerungen, Leeschtungsiwwerwaachung an technesche Support.

""", ), "meta_description": "Frequently asked questions about HostWizard web hosting and website creation services.", "show_in_footer": True, "show_in_header": False, "display_order": 5, }, ] return [] # Shared legal pages (same content for all platforms) SHARED_PLATFORM_PAGES = [ { "slug": "privacy", "title": "Privacy Policy", "title_translations": tt("Privacy Policy", "Politique de confidentialité", "Datenschutzrichtlinie", "Dateschutzrichtlinn"), "content": """

Privacy Policy

Last Updated: February 2026

Information We Collect

We collect information you provide directly:

How We Use Your Information

We use your information to provide and improve our services, process payments, communicate with you, and comply with legal obligations.

Data Protection (GDPR)

We comply with the EU General Data Protection Regulation. You have the right to access, correct, delete, or export your personal data at any time.

Contact

For privacy-related questions, contact privacy@wizard.lu

""", "content_translations": tt( # English """

Privacy Policy

Last Updated: February 2026

Information We Collect

We collect information you provide directly:

How We Use Your Information

We use your information to provide and improve our services, process payments, communicate with you, and comply with legal obligations.

Data Protection (GDPR)

We comply with the EU General Data Protection Regulation. You have the right to access, correct, delete, or export your personal data at any time.

Contact

For privacy-related questions, contact privacy@wizard.lu

""", # French """

Politique de confidentialité

Dernière mise à jour : février 2026

Informations que nous collectons

Nous collectons les informations que vous fournissez directement :

Comment nous utilisons vos informations

Nous utilisons vos informations pour fournir et améliorer nos services, traiter les paiements, communiquer avec vous et respecter les obligations légales.

Protection des données (RGPD)

Nous sommes conformes au Règlement Général sur la Protection des Données de l'UE. Vous avez le droit d'accéder, corriger, supprimer ou exporter vos données personnelles à tout moment.

Contact

Pour toute question relative à la confidentialité, contactez privacy@wizard.lu

""", # German """

Datenschutzrichtlinie

Letzte Aktualisierung: Februar 2026

Informationen, die wir sammeln

Wir sammeln Informationen, die Sie direkt angeben:

Wie wir Ihre Informationen verwenden

Wir verwenden Ihre Informationen, um unsere Dienste bereitzustellen und zu verbessern, Zahlungen zu verarbeiten, mit Ihnen zu kommunizieren und gesetzliche Verpflichtungen zu erfüllen.

Datenschutz (DSGVO)

Wir erfüllen die EU-Datenschutz-Grundverordnung. Sie haben jederzeit das Recht, auf Ihre persönlichen Daten zuzugreifen, sie zu korrigieren, zu löschen oder zu exportieren.

Kontakt

Für datenschutzbezogene Fragen kontaktieren Sie privacy@wizard.lu

""", # Luxembourgish """

Dateschutzrichtlinn

Lescht Aktualiséierung: Februar 2026

Informatiounen déi mir sammelen

Mir sammelen Informatiounen déi Dir direkt ugitt:

Wéi mir Är Informatiounen benotzen

Mir benotzen Är Informatiounen fir eis Servicer ze bidden an ze verbesseren, Bezuelunge ze veraarbechten, mat Iech ze kommunizéieren an gesetzlech Obligatiounen z'erfëllen.

Dateschutz (DSGVO)

Mir erfëllen d'EU-Dateschutz-Grondveruerdnung. Dir hutt jidderzäit d'Recht, op Är perséinlech Donnéeën zouzegräifen, se ze korrigéieren, ze läschen oder z'exportéieren.

Kontakt

Fir Dateschutzfroen kontaktéiert privacy@wizard.lu

""", ), "meta_description": "Privacy policy — how we collect, use, and protect your personal information.", "show_in_footer": False, "show_in_header": False, "show_in_legal": True, "display_order": 10, }, { "slug": "terms", "title": "Terms of Service", "title_translations": tt("Terms of Service", "Conditions d'utilisation", "Nutzungsbedingungen", "Notzungsbedingungen"), "content": """

Terms of Service

Last Updated: February 2026

1. Acceptance of Terms

By accessing and using this platform, you accept and agree to be bound by these Terms of Service.

2. Services

We provide digital business tools including order management, loyalty programs, and website building services.

3. Account

You must provide accurate information and maintain the security of your account.

4. Payments

Subscription fees are billed monthly or annually. You may cancel at any time.

5. Data & Privacy

Your use of our services is also governed by our Privacy Policy.

6. Governing Law

These terms are governed by the laws of Luxembourg.

Contact

For questions about these terms, contact legal@wizard.lu

""", "content_translations": tt( # English """

Terms of Service

Last Updated: February 2026

1. Acceptance of Terms

By accessing and using this platform, you accept and agree to be bound by these Terms of Service.

2. Services

We provide digital business tools including order management, loyalty programs, and website building services.

3. Account

You must provide accurate information and maintain the security of your account.

4. Payments

Subscription fees are billed monthly or annually. You may cancel at any time.

5. Data & Privacy

Your use of our services is also governed by our Privacy Policy.

6. Governing Law

These terms are governed by the laws of Luxembourg.

Contact

For questions about these terms, contact legal@wizard.lu

""", # French """

Conditions d'utilisation

Dernière mise à jour : février 2026

1. Acceptation des conditions

En accédant et en utilisant cette plateforme, vous acceptez d'être lié par ces Conditions d'utilisation.

2. Services

Nous fournissons des outils numériques pour les entreprises, notamment la gestion des commandes, les programmes de fidélité et les services de création de sites web.

3. Compte

Vous devez fournir des informations exactes et maintenir la sécurité de votre compte.

4. Paiements

Les frais d'abonnement sont facturés mensuellement ou annuellement. Vous pouvez annuler à tout moment.

5. Données et confidentialité

Votre utilisation de nos services est également régie par notre Politique de confidentialité.

6. Droit applicable

Ces conditions sont régies par les lois du Luxembourg.

Contact

Pour toute question sur ces conditions, contactez legal@wizard.lu

""", # German """

Nutzungsbedingungen

Letzte Aktualisierung: Februar 2026

1. Annahme der Bedingungen

Durch den Zugang und die Nutzung dieser Plattform akzeptieren Sie diese Nutzungsbedingungen und stimmen ihnen zu.

2. Dienstleistungen

Wir bieten digitale Geschäftstools, einschließlich Bestellverwaltung, Treueprogramme und Website-Erstellungsdienste.

3. Konto

Sie müssen genaue Informationen angeben und die Sicherheit Ihres Kontos gewährleisten.

4. Zahlungen

Abonnementgebühren werden monatlich oder jährlich berechnet. Sie können jederzeit kündigen.

5. Daten und Datenschutz

Ihre Nutzung unserer Dienste unterliegt auch unserer Datenschutzrichtlinie.

6. Anwendbares Recht

Diese Bedingungen unterliegen den Gesetzen Luxemburgs.

Kontakt

Für Fragen zu diesen Bedingungen kontaktieren Sie legal@wizard.lu

""", # Luxembourgish """

Notzungsbedingungen

Lescht Aktualiséierung: Februar 2026

1. Akzeptéierung vun de Bedingungen

Duerch den Zougang an d'Notzung vun dëser Plattform akzeptéiert Dir dës Notzungsbedingungen.

2. Servicer

Mir bidden digital Geschäftstools, inklusiv Bestellverwaltung, Treiëprogrammer a Website-Erstellungsservicer.

3. Konto

Dir musst korrekt Informatiounen uginn an d'Sécherheet vun Ärem Konto garantéieren.

4. Bezuelungen

Abonnementskäschte ginn monatslech oder jäerlech berechent. Dir kënnt jidderzäit kënnegen.

5. Donnéeën an Dateschutz

Är Notzung vun eise Servicer ënnerläit och eiser Dateschutzrichtlinn.

6. Applicabelt Recht

Dës Bedingunge sinn dem lëtzebuerger Recht ënnerworf.

Kontakt

Fir Froen zu dëse Bedingunge kontaktéiert legal@wizard.lu

""", ), "meta_description": "Terms of service governing the use of our platform.", "show_in_footer": False, "show_in_header": False, "show_in_legal": True, "display_order": 11, }, ] # ============================================================================ # STORE DEFAULT PAGES (is_platform_page=False, store_id=NULL) # Uses {{store_name}}, {{store_email}}, {{store_phone}} placeholders # ============================================================================ STORE_DEFAULT_HOME = { "slug": "home", "title": "Welcome to {{store_name}}", "title_translations": tt( "Welcome to {{store_name}}", "Bienvenue chez {{store_name}}", "Willkommen bei {{store_name}}", "Wëllkomm bei {{store_name}}", ), "content": """

Welcome

{{store_name}} is here to serve you. Browse our offerings and discover what we have for you.

""", "content_translations": tt( # English """

Welcome

{{store_name}} is here to serve you. Browse our offerings and discover what we have for you.

""", # French """

Bienvenue

{{store_name}} est là pour vous servir. Découvrez nos offres et ce que nous avons pour vous.

""", # German """

Willkommen

{{store_name}} ist für Sie da. Entdecken Sie unser Angebot.

""", # Luxembourgish """

Wëllkomm

{{store_name}} ass fir Iech do. Entdeckt eist Angebot.

""", ), "template": "default", "meta_description": "Welcome to {{store_name}}", "show_in_header": False, "show_in_footer": False, "display_order": 0, } STORE_DEFAULTS_COMMON = [ { "slug": "about", "title": "About Us", "title_translations": tt("About Us", "À propos", "Über uns", "Iwwer eis"), "content": """

About {{store_name}}

Welcome to {{store_name}}. We are committed to providing you with quality products and excellent service.

Our Story

{{store_name}} was founded with a simple mission: to deliver exceptional value to our customers.

Contact Us

Have questions? We'd love to hear from you.

""", "content_translations": tt( # English """

About {{store_name}}

Welcome to {{store_name}}. We are committed to providing you with quality products and excellent service.

Our Story

{{store_name}} was founded with a simple mission: to deliver exceptional value to our customers.

Contact Us

Have questions? We'd love to hear from you.

""", # French """

À propos de {{store_name}}

Bienvenue chez {{store_name}}. Nous nous engageons à vous fournir des produits de qualité et un service excellent.

Notre histoire

{{store_name}} a été fondé avec une mission simple : offrir une valeur exceptionnelle à nos clients.

Contactez-nous

Vous avez des questions ? Nous serions ravis d'avoir de vos nouvelles.

""", # German """

Über {{store_name}}

Willkommen bei {{store_name}}. Wir sind bestrebt, Ihnen Qualitätsprodukte und exzellenten Service zu bieten.

Unsere Geschichte

{{store_name}} wurde mit einer einfachen Mission gegründet: unseren Kunden einen außergewöhnlichen Mehrwert zu bieten.

Kontaktieren Sie uns

Haben Sie Fragen? Wir freuen uns, von Ihnen zu hören.

""", # Luxembourgish """

Iwwer {{store_name}}

Wëllkomm bei {{store_name}}. Mir setzen eis derfir an, Iech Qualitéitsprodukter an exzellente Service ze bidden.

Eis Geschicht

{{store_name}} gouf mat enger einfacher Missioun gegrënnt: eise Clienten en aussergewéinleche Méiwäert ze bidden.

Kontaktéiert eis

Hutt Dir Froen? Mir géife gäre vun Iech héieren.

""", ), "meta_description": "Learn about {{store_name}} — our story, values, and commitment to quality.", "show_in_footer": True, "show_in_header": True, "display_order": 1, }, { "slug": "contact", "title": "Contact Us", "title_translations": tt("Contact Us", "Contactez-nous", "Kontakt", "Kontakt"), "content": """

Contact {{store_name}}

We're here to help! Reach out to us.

Get in Touch

We typically respond within 24 hours during business days.

""", "content_translations": tt( # English """

Contact {{store_name}}

We're here to help! Reach out to us.

Get in Touch

We typically respond within 24 hours during business days.

""", # French """

Contacter {{store_name}}

Nous sommes là pour vous aider ! Contactez-nous.

Nous joindre

Nous répondons généralement dans les 24 heures les jours ouvrables.

""", # German """

{{store_name}} kontaktieren

Wir sind hier, um zu helfen! Kontaktieren Sie uns.

Kontakt aufnehmen

Wir antworten in der Regel innerhalb von 24 Stunden an Werktagen.

""", # Luxembourgish """

{{store_name}} kontaktéieren

Mir sinn do fir ze hëllefen! Kontaktéiert eis.

Kontakt ophuelen

Mir äntweren normalerweis bannent 24 Stonnen un Aarbechtsdeeg.

""", ), "meta_description": "Contact {{store_name}} for questions, support, or inquiries.", "show_in_footer": True, "show_in_header": True, "display_order": 2, }, { "slug": "faq", "title": "FAQ", "title_translations": tt("FAQ", "FAQ", "FAQ", "FAQ"), "content": """

Frequently Asked Questions

How can I contact you?

You can reach us at {{store_email}} or call {{store_phone}}.

What are your business hours?

We are available during regular business hours, Monday through Friday.

Do you have a physical location?

Please contact us for information about our location and visiting hours.

""", "content_translations": tt( # English """

Frequently Asked Questions

How can I contact you?

You can reach us at {{store_email}} or call {{store_phone}}.

What are your business hours?

We are available during regular business hours, Monday through Friday.

Do you have a physical location?

Please contact us for information about our location and visiting hours.

""", # French """

Questions fréquemment posées

Comment puis-je vous contacter ?

Vous pouvez nous joindre à {{store_email}} ou appeler le {{store_phone}}.

Quelles sont vos heures d'ouverture ?

Nous sommes disponibles pendant les heures d'ouverture habituelles, du lundi au vendredi.

Avez-vous un emplacement physique ?

Veuillez nous contacter pour des informations sur notre emplacement et nos heures de visite.

""", # German """

Häufig gestellte Fragen

Wie kann ich Sie kontaktieren?

Sie erreichen uns unter {{store_email}} oder telefonisch unter {{store_phone}}.

Was sind Ihre Geschäftszeiten?

Wir sind während der regulären Geschäftszeiten erreichbar, Montag bis Freitag.

Haben Sie einen physischen Standort?

Bitte kontaktieren Sie uns für Informationen über unseren Standort und Besuchszeiten.

""", # Luxembourgish """

Heefeg gestallte Froen

Wéi kann ech Iech kontaktéieren?

Dir erreecht eis ënner {{store_email}} oder rufft eis un ënner {{store_phone}}.

Wat sinn Är Geschäftszäiten?

Mir sinn während de reguläre Geschäftszäiten erreichbar, Méindes bis Freides.

Hutt Dir e physesche Standuert?

Kontaktéiert eis w.e.g. fir Informatiounen iwwer eise Standuert an eis Besuchszäiten.

""", ), "meta_description": "Frequently asked questions about {{store_name}}.", "show_in_footer": True, "show_in_header": False, "display_order": 3, }, { "slug": "privacy", "title": "Privacy Policy", "title_translations": tt("Privacy Policy", "Politique de confidentialité", "Datenschutzrichtlinie", "Dateschutzrichtlinn"), "content": """

Privacy Policy

{{store_name}} is committed to protecting your personal information.

Information We Collect

We collect information necessary to process your orders and provide customer service.

Your Rights

Under GDPR, you have the right to access, correct, or delete your personal data. Contact us at {{store_email}}.

""", "content_translations": tt( # English """

Privacy Policy

{{store_name}} is committed to protecting your personal information.

Information We Collect

We collect information necessary to process your orders and provide customer service.

Your Rights

Under GDPR, you have the right to access, correct, or delete your personal data. Contact us at {{store_email}}.

""", # French """

Politique de confidentialité

{{store_name}} s'engage à protéger vos informations personnelles.

Informations que nous collectons

Nous collectons les informations nécessaires au traitement de vos commandes et à la fourniture du service client.

Vos droits

En vertu du RGPD, vous avez le droit d'accéder, de corriger ou de supprimer vos données personnelles. Contactez-nous à {{store_email}}.

""", # German """

Datenschutzrichtlinie

{{store_name}} verpflichtet sich zum Schutz Ihrer persönlichen Daten.

Informationen, die wir sammeln

Wir sammeln Informationen, die zur Bearbeitung Ihrer Bestellungen und zur Bereitstellung des Kundenservice erforderlich sind.

Ihre Rechte

Gemäß der DSGVO haben Sie das Recht, auf Ihre persönlichen Daten zuzugreifen, sie zu korrigieren oder zu löschen. Kontaktieren Sie uns unter {{store_email}}.

""", # Luxembourgish """

Dateschutzrichtlinn

{{store_name}} engagéiert sech fir de Schutz vun Äre perséinlechen Informatiounen.

Informatiounen déi mir sammelen

Mir sammelen Informatiounen déi néideg sinn fir Är Bestellungen ze veraarbechten an de Clientsservice ze bidden.

Är Rechter

Ënnert der DSGVO hutt Dir d'Recht, op Är perséinlech Donnéeën zouzegräifen, se ze korrigéieren oder ze läschen. Kontaktéiert eis ënner {{store_email}}.

""", ), "meta_description": "Privacy policy for {{store_name}}.", "show_in_footer": False, "show_in_header": False, "show_in_legal": True, "display_order": 10, }, { "slug": "terms", "title": "Terms of Service", "title_translations": tt("Terms of Service", "Conditions d'utilisation", "Nutzungsbedingungen", "Notzungsbedingungen"), "content": """

Terms of Service

By using the services provided by {{store_name}}, you agree to these terms.

Orders

All orders are subject to availability and confirmation.

Contact

For questions about these terms, contact us at {{store_email}}.

""", "content_translations": tt( # English """

Terms of Service

By using the services provided by {{store_name}}, you agree to these terms.

Orders

All orders are subject to availability and confirmation.

Contact

For questions about these terms, contact us at {{store_email}}.

""", # French """

Conditions d'utilisation

En utilisant les services fournis par {{store_name}}, vous acceptez ces conditions.

Commandes

Toutes les commandes sont soumises à la disponibilité et à la confirmation.

Contact

Pour toute question sur ces conditions, contactez-nous à {{store_email}}.

""", # German """

Nutzungsbedingungen

Durch die Nutzung der von {{store_name}} bereitgestellten Dienste stimmen Sie diesen Bedingungen zu.

Bestellungen

Alle Bestellungen unterliegen der Verfügbarkeit und Bestätigung.

Kontakt

Für Fragen zu diesen Bedingungen kontaktieren Sie uns unter {{store_email}}.

""", # Luxembourgish """

Notzungsbedingungen

Duerch d'Notzung vun de Servicer vu {{store_name}} stëmmt Dir dëse Bedingungen zou.

Bestellungen

All Bestellunge sinn un d'Disponibilitéit an d'Bestätegung gebonnen.

Kontakt

Fir Froen zu dëse Bedingunge kontaktéiert eis ënner {{store_email}}.

""", ), "meta_description": "Terms of service for {{store_name}}.", "show_in_footer": False, "show_in_header": False, "show_in_legal": True, "display_order": 11, }, ] # OMS-specific store defaults (shipping/returns) STORE_DEFAULTS_OMS_EXTRA = [ { "slug": "shipping", "title": "Shipping Policy", "title_translations": tt("Shipping Policy", "Politique de livraison", "Versandrichtlinie", "Versandrichtlinn"), "content": """

Shipping Policy

Shipping Methods

{{store_name}} offers multiple shipping options:

Shipping Costs

Shipping costs are calculated based on weight and destination at checkout.

Tracking

You will receive a tracking number by email once your order ships.

Questions?

Contact us at {{store_email}} for shipping inquiries.

""", "content_translations": tt( # English """

Shipping Policy

Shipping Methods

{{store_name}} offers multiple shipping options:

Shipping Costs

Shipping costs are calculated based on weight and destination at checkout.

Tracking

You will receive a tracking number by email once your order ships.

Questions?

Contact us at {{store_email}} for shipping inquiries.

""", # French """

Politique de livraison

Méthodes de livraison

{{store_name}} propose plusieurs options de livraison :

Frais de livraison

Les frais de livraison sont calculés en fonction du poids et de la destination lors du paiement.

Suivi

Vous recevrez un numéro de suivi par e-mail dès l'expédition de votre commande.

Des questions ?

Contactez-nous à {{store_email}} pour toute question relative à la livraison.

""", # German """

Versandrichtlinie

Versandmethoden

{{store_name}} bietet mehrere Versandoptionen an:

Versandkosten

Die Versandkosten werden basierend auf Gewicht und Zielort bei der Kasse berechnet.

Sendungsverfolgung

Sie erhalten eine Sendungsverfolgungsnummer per E-Mail, sobald Ihre Bestellung versandt wird.

Fragen?

Kontaktieren Sie uns unter {{store_email}} für Versandanfragen.

""", # Luxembourgish """

Versandrichtlinn

Versandmethoden

{{store_name}} bitt verschidde Versandoptioune un:

Versandkäschten

D'Versandkäschte ginn op Basis vum Gewiicht an der Destinatioun bei der Kees berechent.

Sendungsverfolgung

Dir kritt eng Sendungsverfolgungsnummer per E-Mail, soubal Är Bestellung verschéckt gëtt.

Froen?

Kontaktéiert eis ënner {{store_email}} fir Versandufroen.

""", ), "meta_description": "Shipping policy for {{store_name}} — methods, costs, and delivery times.", "show_in_footer": True, "show_in_header": False, "display_order": 4, }, { "slug": "returns", "title": "Return & Refund Policy", "title_translations": tt("Return & Refund Policy", "Politique de retour et remboursement", "Rückgabe- und Erstattungsrichtlinie", "Retour- a Rembourséierungsrichtlinn"), "content": """

Return & Refund Policy

Returns

{{store_name}} accepts returns within 14 days of delivery, in accordance with Luxembourg consumer protection law.

How to Return

  1. Contact us at {{store_email}} to initiate a return
  2. Pack the item in its original condition
  3. Ship using the provided return instructions

Refunds

Refunds are processed within 14 days of receiving the returned item, back to the original payment method.

Damaged Items

If you receive a damaged item, contact us immediately at {{store_email}} with photos.

""", "content_translations": tt( # English """

Return & Refund Policy

Returns

{{store_name}} accepts returns within 14 days of delivery, in accordance with Luxembourg consumer protection law.

How to Return

  1. Contact us at {{store_email}} to initiate a return
  2. Pack the item in its original condition
  3. Ship using the provided return instructions

Refunds

Refunds are processed within 14 days of receiving the returned item, back to the original payment method.

Damaged Items

If you receive a damaged item, contact us immediately at {{store_email}} with photos.

""", # French """

Politique de retour et remboursement

Retours

{{store_name}} accepte les retours dans les 14 jours suivant la livraison, conformément à la loi luxembourgeoise de protection du consommateur.

Comment retourner

  1. Contactez-nous à {{store_email}} pour initier un retour
  2. Emballez l'article dans son état d'origine
  3. Expédiez en suivant les instructions de retour fournies

Remboursements

Les remboursements sont traités dans les 14 jours suivant la réception de l'article retourné, sur le moyen de paiement d'origine.

Articles endommagés

Si vous recevez un article endommagé, contactez-nous immédiatement à {{store_email}} avec des photos.

""", # German """

Rückgabe- und Erstattungsrichtlinie

Rückgaben

{{store_name}} akzeptiert Rückgaben innerhalb von 14 Tagen nach Lieferung, gemäß dem luxemburgischen Verbraucherschutzgesetz.

So geben Sie zurück

  1. Kontaktieren Sie uns unter {{store_email}}, um eine Rückgabe einzuleiten
  2. Verpacken Sie den Artikel in seinem Originalzustand
  3. Versenden Sie gemäß den bereitgestellten Rücksendeanweisungen

Erstattungen

Erstattungen werden innerhalb von 14 Tagen nach Erhalt des zurückgesendeten Artikels auf die ursprüngliche Zahlungsmethode verarbeitet.

Beschädigte Artikel

Wenn Sie einen beschädigten Artikel erhalten, kontaktieren Sie uns sofort unter {{store_email}} mit Fotos.

""", # Luxembourgish """

Retour- a Rembourséierungsrichtlinn

Retouren

{{store_name}} akzeptéiert Retoure bannent 14 Deeg no der Liwwerung, am Aklang mat dem lëtzebuerger Konsumenteschutzgesetz.

Wéi retournéieren

  1. Kontaktéiert eis ënner {{store_email}} fir eng Retour unzefänken
  2. Verpackt den Artikel a sengem originale Zoustand
  3. Verschéckt no de geliwwerten Retourinstruktiounen

Rembourséierungen

Rembourséierunge ginn bannent 14 Deeg no Erhalt vum retournéierten Artikel op déi ursprénglech Bezuelmethode veraarbecht.

Beschiedegt Artikelen

Wann Dir en beschiedegten Artikel kritt, kontaktéiert eis direkt ënner {{store_email}} mat Fotoen.

""", ), "meta_description": "Return and refund policy for {{store_name}}.", "show_in_footer": True, "show_in_header": False, "display_order": 5, }, ] # ============================================================================ # SCRIPT FUNCTIONS # ============================================================================ def _page_exists(db: Session, platform_id: int, slug: str, *, is_platform_page: bool) -> bool: """Check if a page already exists for the given platform, slug, and type.""" existing = db.execute( select(ContentPage).where( ContentPage.platform_id == platform_id, ContentPage.store_id.is_(None), ContentPage.slug == slug, ContentPage.is_platform_page == is_platform_page, ) ).scalar_one_or_none() return existing is not None def _create_page( db: Session, platform_id: int, page_data: dict, *, is_platform_page: bool = False, sections: dict | None = None, ) -> bool: """Create a single content page. Returns True if created, False if skipped.""" slug = page_data["slug"] title = page_data["title"] if _page_exists(db, platform_id, slug, is_platform_page=is_platform_page): # Backfill translations if they are currently NULL existing = db.execute( select(ContentPage).where( ContentPage.platform_id == platform_id, ContentPage.slug == slug, ContentPage.is_platform_page == is_platform_page, ContentPage.store_id.is_(None), ) ).scalar_one_or_none() if existing: updated = False if existing.content_translations is None and page_data.get("content_translations"): existing.content_translations = page_data["content_translations"] updated = True if existing.title_translations is None and page_data.get("title_translations"): existing.title_translations = page_data["title_translations"] updated = True if updated: existing.updated_at = datetime.now(UTC) print(f" Backfilled translations: {title} (/{slug})") return True # Count as created for reporting print(f" Skipped: {title} (/{slug}) - already exists") return False page = ContentPage( platform_id=platform_id, store_id=None, slug=slug, title=title, title_translations=page_data.get("title_translations"), content=page_data.get("content", ""), content_translations=page_data.get("content_translations"), content_format="html", template=page_data.get("template", "default"), sections=sections, meta_description=page_data.get("meta_description", ""), meta_keywords=page_data.get("meta_keywords", ""), is_platform_page=is_platform_page, is_published=True, published_at=datetime.now(UTC), show_in_footer=page_data.get("show_in_footer", False), show_in_header=page_data.get("show_in_header", False), show_in_legal=page_data.get("show_in_legal", False), display_order=page_data.get("display_order", 0), created_at=datetime.now(UTC), updated_at=datetime.now(UTC), ) db.add(page) tier_label = "platform" if is_platform_page else "store-default" print(f" Created [{tier_label}]: {title} (/{slug})") return True def create_default_pages(db: Session) -> None: """ Create all default content pages for all platforms. This function is idempotent — it skips pages that already exist. """ print("\n" + "=" * 70) print("Creating Default Content Pages (CMS)") print("=" * 70 + "\n") # Load all platforms platforms = db.execute(select(Platform)).scalars().all() if not platforms: print(" No platforms found. Run init_production.py first.") return total_created = 0 total_skipped = 0 for platform in platforms: print(f"\n Platform: {platform.name} (code={platform.code})") created_count = 0 skipped_count = 0 # ------------------------------------------------------------------ # 1. Platform Homepage (slug="home", is_platform_page=True, sections) # ------------------------------------------------------------------ sections_fn = HOMEPAGE_SECTIONS.get(platform.code) if sections_fn: sections_data = sections_fn() homepage_data = { "slug": "home", "title": f"{platform.name} - Home", "content": "", "meta_description": f"{platform.name} — digital tools for Luxembourg businesses.", "show_in_footer": False, "show_in_header": False, "display_order": 0, } if _create_page( db, platform.id, homepage_data, is_platform_page=True, sections=sections_data, ): created_count += 1 else: skipped_count += 1 else: print(f" Warning: No homepage sections defined for platform '{platform.code}'") # ------------------------------------------------------------------ # 2. Platform Marketing Pages (is_platform_page=True) # ------------------------------------------------------------------ platform_pages = _get_platform_pages(platform.code) for page_data in platform_pages: if _create_page(db, platform.id, page_data, is_platform_page=True): created_count += 1 else: skipped_count += 1 # Shared legal pages (privacy, terms) for all platforms for page_data in SHARED_PLATFORM_PAGES: if _create_page(db, platform.id, page_data, is_platform_page=True): created_count += 1 else: skipped_count += 1 # ------------------------------------------------------------------ # 3. Store Default Pages (is_platform_page=False, store_id=NULL) # Only for platforms that host stores (not wizard.lu main) # ------------------------------------------------------------------ if platform.code != "main": # Store homepage (slug="home") if _create_page(db, platform.id, STORE_DEFAULT_HOME, is_platform_page=False): created_count += 1 else: skipped_count += 1 for page_data in STORE_DEFAULTS_COMMON: if _create_page(db, platform.id, page_data, is_platform_page=False): created_count += 1 else: skipped_count += 1 # OMS-specific: shipping + returns if platform.code == "oms": for page_data in STORE_DEFAULTS_OMS_EXTRA: if _create_page(db, platform.id, page_data, is_platform_page=False): created_count += 1 else: skipped_count += 1 print(f" --- {created_count} created, {skipped_count} skipped") total_created += created_count total_skipped += skipped_count db.commit() print("\n" + "=" * 70) print("Summary:") print(f" Platforms: {len(platforms)}") print(f" Created: {total_created} pages") print(f" Skipped: {total_skipped} pages (already exist)") print(f" Total: {total_created + total_skipped} pages") print("=" * 70 + "\n") if total_created > 0: print("Default content pages created successfully!\n") else: print("All default pages already exist. No changes made.\n") # ============================================================================ # MAIN EXECUTION # ============================================================================ def main(): """Main execution function.""" print("\nStarting Default Content Pages Creation Script...\n") db = SessionLocal() try: create_default_pages(db) print("Script completed successfully!\n") except Exception as e: print(f"\nError: {e}\n") db.rollback() raise finally: db.close() if __name__ == "__main__": main()