Versandfreigrenze pro Land, USt-ID, Rechtstexte+FAQ jetzt admin-editierbar

1) Versandkostenfreigrenze ist jetzt länderabhängig statt einer einzigen Zahl für alle:
   Deutschland 75 €, Österreich/Luxemburg 85 €, Schweiz 100 € (im Adminbereich unter
   "Versandkosten-Staffel" änderbar). Betrifft Warenkorb (live je nach gewähltem Land),
   Checkout-Berechnung, sowie alle Text-Hinweise (Topbar, FAQ, AGB) in allen 4 Sprachen.

2) Neues Feld "USt-IdNr." im Impressum (optional, admin-editierbar) — erscheint nur, wenn
   ausgefüllt.

3) Impressum, AGB, Datenschutzerklärung, Widerrufsbelehrung und FAQ sind jetzt vollständig
   im Adminbereich editierbar (neue Collection "⚖️ Rechtstexte & FAQ") statt fest im Code zu
   stehen. Jede Rechtsseite besteht aus frei bearbeitbaren Abschnitten (Überschrift + Text) —
   VanVan kann selbst Abschnitte ergänzen, ändern oder löschen. Freitext wird beim Anzeigen
   sicher escaped (kein kaputtes HTML durch Tippfehler möglich) und nackte Links automatisch
   klickbar gemacht. FAQ bleibt dabei weiterhin in allen 4 Sprachen separat pflegbar.

Ausführlich getestet: Freigrenze pro Land im echten Warenkorb verifiziert (Puppeteer,
84€ Warenwert -> DE kostenlos, AT/LU "noch 1€", CH "noch 16€"), Rechtstexte/FAQ/USt-ID
gegen den fertigen Build geprüft, EU-Streitschlichtung-Link-Bug (Satzzeichen wurde
mitverlinkt) gefunden und behoben.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
qcigano
2026-08-03 22:04:01 +02:00
co-authored by Claude Sonnet 5
parent 9a2c75ebe6
commit 0c1c8f075f
23 changed files with 495 additions and 310 deletions
+20 -52
View File
@@ -9,7 +9,7 @@ export const ui = {
de: {
nav: { shop: "Shop", sale: "Sale", creative: "Über die Kreative", faq: "FAQ", contact: "Kontakt", account: "Mein Konto", login: "Anmelden" },
accountMenu: { myAccount: "Mein Konto", logout: "Abmelden" },
topbar: "Versandkostenfrei ab 75 € innerhalb DE/AT/CH/LU",
topbar: "Versandkostenfrei ab 75 € (DE) / 85 € (AT, LU) / 100 € (CH)",
footer: {
tagline: "Handgemacht mit Liebe Kreativität zum Verschenken und Selbstbehalten.",
shopHeading: "Shop", serviceHeading: "Service", legalHeading: "Rechtliches",
@@ -66,16 +66,8 @@ export const ui = {
},
faq: {
title: "Häufig gestellte Fragen",
items: [
{ q: "Wie lange dauert die Lieferung?", a: "In der Regel 27 Werktage innerhalb Deutschlands, Österreichs, der Schweiz und Luxemburgs. Bei Sonderanfertigungen kann es etwas länger dauern das steht dann direkt auf der Produktseite." },
{ q: "Ab wann ist der Versand kostenlos?", a: "Ab einem Warenwert von 75 € versenden wir innerhalb der belieferten Länder kostenfrei mit DHL. Darunter richten sich die Versandkosten nach Produkt, Land und Warenwert Details dazu findest du auf der Seite Versand & Zahlung." },
{ q: "Kann ich Sonderwünsche oder individuelle Anfertigungen bestellen?", a: "Ja, gerne! Schreib uns einfach über das Kontaktformular wir schauen, was möglich ist." },
{ q: "Wie pflege ich meine handgemachten Produkte?", a: "Die genauen Pflegehinweise stehen jeweils auf der Produktseite. Da unsere Stücke handgehäkelt bzw. handgestrickt sind, empfehlen wir grundsätzlich schonende Handwäsche bei niedriger Temperatur, keinen Trockner und liegend an der Luft trocknen, damit Form und Fasern erhalten bleiben." },
{ q: "Welche Zahlungsarten werden akzeptiert?", a: "PayPal, Klarna, Kreditkarte (Visa & Mastercard) und Banküberweisung (Vorkasse)." },
{ q: "Kann ich meine Bestellung zurückgeben?", a: "Es gilt das gesetzliche 14-tägige Widerrufsrecht (siehe unsere Widerrufsbelehrung). Bei individuell auf dich zugeschnittenen Sonderanfertigungen kann das Widerrufsrecht gesetzlich ausgeschlossen sein, bei Standardartikeln aus unserem Sortiment gilt es regulär." },
{ q: "Muss ich Umsatzsteuer zahlen?", a: "Nein. Van's DIY & Bastelbedarf ist Kleinunternehmer gemäß §19 UStG es wird keine Umsatzsteuer berechnet und ausgewiesen." },
{ q: "Brauche ich ein Kundenkonto zum Bestellen?", a: "Nein, du kannst auch bequem als Gast bestellen. Ein Konto lohnt sich aber für Bestellhistorie, Wunschliste und Sendungsverfolgung an einem Ort." },
],
// Inhalte (Fragen/Antworten) seit 03.08.2026 admin-editierbar in src/content/faq.json
// (siehe src/data/faq.ts) statt hier fest zu stehen.
},
contact: {
title: "Schreib uns", lead: "Fragen zu einem Produkt, deiner Bestellung oder eine individuelle Anfrage? Melde dich gerne!",
@@ -156,7 +148,7 @@ export const ui = {
shippingItems: [
"Versand ausschließlich mit DHL", "Lieferländer: Deutschland, Österreich, Schweiz, Luxemburg",
"Lieferzeit: 27 Werktage", "Versandkosten sind pro Produkt hinterlegt und zusätzlich nach Warenwert & Land gestaffelt",
"Versandkostenfrei ab 75 € Warenwert", "Der Versand erfolgt erst nach Zahlungseingang",
"Versandkostenfrei ab 75 € Warenwert (Deutschland), 85 € (Österreich, Luxemburg) bzw. 100 € (Schweiz)", "Der Versand erfolgt erst nach Zahlungseingang",
"Bei Lieferungen in die Schweiz können Schweizer Einfuhrumsatzsteuer und Zollgebühren anfallen, die von dir als Empfänger:in getragen werden",
],
paymentTitle: "💳 Zahlungsarten", paymentItems: ["PayPal", "Klarna", "Kreditkarte (Visa & Mastercard)", "Banküberweisung (Vorkasse)"],
@@ -202,7 +194,7 @@ export const ui = {
bankPlaceholder: "Die Bankverbindung wird dir nach Bestelleingang per E-Mail zugesendet.",
bankHolder: "Kontoinhaber:in", bankIban: "IBAN", bankBic: "BIC", bankBankName: "Bank",
shippingHintTitle: "Versandhinweis",
shippingHint: "Versand ausschließlich per DHL nach Deutschland, Österreich, Schweiz und Luxemburg. Lieferzeit 27 Werktage. Versandkostenfrei ab 75 €. Versand erst nach Zahlungseingang.",
shippingHint: "Versand ausschließlich per DHL nach Deutschland, Österreich, Schweiz und Luxemburg. Lieferzeit 27 Werktage. Versandkostenfrei ab 75 € (Deutschland), 85 € (Österreich, Luxemburg) bzw. 100 € (Schweiz). Versand erst nach Zahlungseingang.",
shippingLink: "Mehr zu Versand & Zahlung →",
thankYouEyebrow: "Danke", thankYouTitle: "Deine Bestellung ist eingegangen",
thankYouLead: "Das ist aktuell eine Demo-Bestätigung (Phase 1, ohne echte Zahlungsabwicklung). Sobald der echte Checkout live ist, bekommst du hier und per E-Mail eine richtige Bestellbestätigung.",
@@ -321,7 +313,7 @@ export const ui = {
en: {
nav: { shop: "Shop", sale: "Sale", creative: "About the Maker", faq: "FAQ", contact: "Contact", account: "My Account", login: "Sign in" },
accountMenu: { myAccount: "My Account", logout: "Sign out" },
topbar: "Free shipping from €75 within DE/AT/CH/LU",
topbar: "Free shipping from €75 (DE) / €85 (AT, LU) / €100 (CH)",
footer: {
tagline: "Handmade with love creativity to gift and to keep.",
shopHeading: "Shop", serviceHeading: "Service", legalHeading: "Legal",
@@ -378,16 +370,8 @@ export const ui = {
},
faq: {
title: "Frequently Asked Questions",
items: [
{ q: "How long does delivery take?", a: "Usually 27 business days within Germany, Austria, Switzerland and Luxembourg. Custom pieces may take a little longer noted directly on the product page." },
{ q: "From when is shipping free?", a: "From an order value of €75 we ship free of charge via DHL within the countries we deliver to. Below that, shipping costs depend on the product, country and order value details on our Shipping & Payment page." },
{ q: "Can I request custom or personalized items?", a: "Yes, gladly! Just reach out via the contact form we'll see what's possible." },
{ q: "How do I care for my handmade items?", a: "Care instructions are listed on the respective product page. As our pieces are hand-crocheted or hand-knitted, we generally recommend gentle hand-washing at a low temperature, no tumble dryer, and drying flat to preserve shape and fibres." },
{ q: "Which payment methods are accepted?", a: "PayPal, Klarna, credit card (Visa & Mastercard) and bank transfer (prepayment)." },
{ q: "Can I return my order?", a: "The statutory 14-day right of withdrawal applies (see our withdrawal notice). For custom-made pieces tailored to you, the right of withdrawal may be excluded by law; for standard items from our range it applies as usual." },
{ q: "Do I have to pay VAT?", a: "No. Van's DIY & Bastelbedarf is a small business per §19 UStG no VAT is charged or shown." },
{ q: "Do I need an account to order?", a: "No, you can conveniently check out as a guest. An account is worthwhile though for order history, wishlist and shipment tracking all in one place." },
],
// Content (questions/answers) admin-editable since 03.08.2026 in src/content/faq.json
// (see src/data/faq.ts) instead of hardcoded here.
},
contact: {
title: "Get in touch", lead: "Questions about a product, your order, or a custom request? Feel free to reach out!",
@@ -468,7 +452,7 @@ export const ui = {
shippingItems: [
"Shipped exclusively via DHL", "Countries we deliver to: Germany, Austria, Switzerland, Luxembourg",
"Delivery time: 27 business days", "Shipping costs are set per product and further tiered by order value & country",
"Free shipping from €75 order value", "Shipping only starts after payment has been received",
"Free shipping from €75 order value (Germany), €85 (Austria, Luxembourg) or €100 (Switzerland)", "Shipping only starts after payment has been received",
"Deliveries to Switzerland may be subject to Swiss import VAT and customs fees, payable by you as the recipient",
],
paymentTitle: "💳 Payment methods", paymentItems: ["PayPal", "Klarna", "Credit card (Visa & Mastercard)", "Bank transfer (prepayment)"],
@@ -514,7 +498,7 @@ export const ui = {
bankPlaceholder: "Bank details will be sent to you by email after your order.",
bankHolder: "Account holder", bankIban: "IBAN", bankBic: "BIC", bankBankName: "Bank",
shippingHintTitle: "Shipping note",
shippingHint: "Shipped exclusively via DHL to Germany, Austria, Switzerland and Luxembourg. Delivery time 27 business days. Free shipping from €75. Shipping only starts after payment has been received.",
shippingHint: "Shipped exclusively via DHL to Germany, Austria, Switzerland and Luxembourg. Delivery time 27 business days. Free shipping from €75 (Germany), €85 (Austria, Luxembourg) or €100 (Switzerland). Shipping only starts after payment has been received.",
shippingLink: "More on shipping & payment →",
thankYouEyebrow: "Thank you", thankYouTitle: "Your order has been received",
thankYouLead: "This is currently a demo confirmation (Phase 1, no real payment processing). Once the real checkout is live, you'll receive a proper order confirmation here and by email.",
@@ -633,7 +617,7 @@ export const ui = {
ch: {
nav: { shop: "Shop", sale: "Aktion", creative: "Über d'Kreativi", faq: "FAQ", contact: "Kontakt", account: "Mis Konto", login: "Aamälde" },
accountMenu: { myAccount: "Mis Konto", logout: "Abmälde" },
topbar: "Gratisversand ab 75 € innerhalb DE/AT/CH/LU",
topbar: "Gratisversand ab 75 € (DE) / 85 € (AT, LU) / 100 € (CH)",
footer: {
tagline: "Vo Hang gmacht mit Härz Sächeli zum Verschänke und Sälber Bhalte.",
shopHeading: "Shop", serviceHeading: "Service", legalHeading: "Rechtligs",
@@ -690,16 +674,8 @@ export const ui = {
},
faq: {
title: "Häufigi Frage",
items: [
{ q: "Wie lang geits bis d'Lieferig chunnt?", a: "Normalerwiis 27 Werktäg innerhalb Dütschland, Öschterrych, dr Schwiz und Luxemburg. Bi Sondranfertigunge cha's chli länger gah das staht denn direkt uf dr Produktsyte." },
{ q: "Ab wenn isch dr Versand gratis?", a: "Ab emene Warewärt vo 75 € schicke mir innerhalb vo de belieferte Länder gratis mit DHL. Drunder richte sich d'Versandchoschte nach Produkt, Land und Warewärt Details dezue findsch uf dr Syte Versand & Zahlig." },
{ q: "Cha ich Sonderwünsch oder öppis Individuells bstelle?", a: "Ja, gärn! Schrib eus eifach übers Kontaktformular mir luege, was geit." },
{ q: "Wie pfläg ich mini vo Hang gmachte Sächeli?", a: "D'gnaue Pflegehinwys stöh jewils uf dr Produktsyte. Wil eusi Sächeli vo Hang ghäklet oder gstrickt sind, empfähle mir grundsätzlich schonendi Handwösch bi niedriger Temperatur, kei Tumbler und liegend a dr Luft träechne, dass Form und Fase erhalte bliebe." },
{ q: "Weli Zahligsarte werded akzeptiert?", a: "PayPal, Klarna, Kreditkarte (Visa & Mastercard) und Banküberwysig (Vorusszahlig)." },
{ q: "Cha ich mini Bschtellig zrugg gäh?", a: "Es gilt das gsetzlichi 14-tägig Widerrufsrächt (lueg üsi Widerrufsbelehrig aa). Bi Sondranfertigunge, wo speziell uf dich gmacht sind, cha das Widerrufsrächt gsetzlich usgschlosse si, bi Standardartikel us eusem Sortimänt gilt's regulär." },
{ q: "Muess ich Umsatzsteuer zahle?", a: "Nei. Van's DIY & Bastelbedarf isch Kleinunternehmer gemäss §19 UStG es wird kei Umsatzsteuer berechnet und usgwiese." },
{ q: "Bruuch ich es Kundekonto zum Bstelle?", a: "Nei, du chasch au eifach als Gast bstelle. Es Konto lohnt sich aber für d'Bstellhistorie, d'Wunschlischte und d'Sändigsverfolgig a eim Ort." },
],
// Inhalt (Frage/Antwort) sit 03.08.2026 admin-editierbar in src/content/faq.json (lueg
// src/data/faq.ts) statt fescht do z'stah.
},
contact: {
title: "Schrib eus", lead: "Hesch Frage zu emene Produkt, dinere Bschtellig oder öppis Spezielles? Mäld dich gärn!",
@@ -780,7 +756,7 @@ export const ui = {
shippingItems: [
"Versand nume mit DHL", "Lieferländer: Dütschland, Öschterrych, d'Schwiz, Luxemburg",
"Lieferzyt: 27 Werktäg", "Versandchoschte sind pro Produkt hinterlegt und zuesätzlich nach Warewärt & Land gstaffelt",
"Gratisversand ab 75 € Warewärt", "Dr Versand geit erscht los, wenn d'Zahlig igange isch",
"Gratisversand ab 75 € Warewärt (Dütschland), 85 € (Öschterrych, Luxemburg) bzw. 100 € (Schwiz)", "Dr Versand geit erscht los, wenn d'Zahlig igange isch",
"Bi Liefrige i d'Schwiz chöi schwyzerischi Iifuehrumsatzsteuer und Zollgebühre afalle, wo du als Empfänger:in trage muesch",
],
paymentTitle: "💳 Zahligsarte", paymentItems: ["PayPal", "Klarna", "Kreditkarte (Visa & Mastercard)", "Banküberwysig (Vorusszahlig)"],
@@ -826,7 +802,7 @@ export const ui = {
bankPlaceholder: "D'Bankverbindig wird dir nach Bstelligang per E-Mail zuegschickt.",
bankHolder: "Kontoinhaber:in", bankIban: "IBAN", bankBic: "BIC", bankBankName: "Bank",
shippingHintTitle: "Versandhinwys",
shippingHint: "Versand nume per DHL nach Dütschland, Öschterrych, d'Schwiz und Luxemburg. Lieferzyt 27 Werktäg. Gratisversand ab 75 €. Dr Versand geit erscht los, wenn d'Zahlig igange isch.",
shippingHint: "Versand nume per DHL nach Dütschland, Öschterrych, d'Schwiz und Luxemburg. Lieferzyt 27 Werktäg. Gratisversand ab 75 € (Dütschland), 85 € (Öschterrych, Luxemburg) bzw. 100 € (Schwiz). Dr Versand geit erscht los, wenn d'Zahlig igange isch.",
shippingLink: "Meh zu Versand & Zahlig →",
thankYouEyebrow: "Merci", thankYouTitle: "Dini Bschtellig isch igange",
thankYouLead: "Das isch momentan e Demo-Bstätigung (Phase 1, ohni echti Zahligsabwicklig). Sobald dr echt Checkout live isch, überchunnsch du da und per E-Mail e richtigi Bstellbstätigung.",
@@ -945,7 +921,7 @@ export const ui = {
fr: {
nav: { shop: "Boutique", sale: "Soldes", creative: "À propos de la créatrice", faq: "FAQ", contact: "Contact", account: "Mon compte", login: "Se connecter" },
accountMenu: { myAccount: "Mon compte", logout: "Se déconnecter" },
topbar: "Livraison gratuite dès 75 € en DE/AT/CH/LU",
topbar: "Livraison gratuite dès 75 € (DE) / 85 € (AT, LU) / 100 € (CH)",
footer: {
tagline: "Fait main avec amour de la créativité à offrir ou à garder.",
shopHeading: "Boutique", serviceHeading: "Service", legalHeading: "Mentions légales",
@@ -1002,16 +978,8 @@ export const ui = {
},
faq: {
title: "Questions fréquentes",
items: [
{ q: "Combien de temps prend la livraison ?", a: "Généralement 2 à 7 jours ouvrés en Allemagne, Autriche, Suisse et au Luxembourg. Pour les pièces sur mesure, cela peut prendre un peu plus de temps indiqué directement sur la page produit." },
{ q: "À partir de quand la livraison est-elle gratuite ?", a: "À partir de 75 € d'achat, nous livrons gratuitement via DHL dans les pays desservis. En dessous, les frais de port dépendent du produit, du pays et du montant de la commande détails sur notre page Livraison & Paiement." },
{ q: "Puis-je commander une pièce personnalisée ?", a: "Oui, avec plaisir ! Écrivez-nous simplement via le formulaire de contact nous verrons ce qui est possible." },
{ q: "Comment entretenir mes produits faits main ?", a: "Les instructions d'entretien figurent sur chaque page produit. Nos pièces étant crochetées ou tricotées à la main, nous recommandons en général un lavage à la main délicat à basse température, sans sèche-linge, et un séchage à plat pour préserver la forme et les fibres." },
{ q: "Quels moyens de paiement sont acceptés ?", a: "PayPal, Klarna, carte bancaire (Visa & Mastercard) et virement bancaire (paiement anticipé)." },
{ q: "Puis-je retourner ma commande ?", a: "Le droit de rétractation légal de 14 jours s'applique (voir notre notice de rétractation). Pour les pièces personnalisées sur mesure, le droit de rétractation peut être exclu par la loi ; pour les articles standards de notre gamme, il s'applique normalement." },
{ q: "Dois-je payer la TVA ?", a: "Non. Van's DIY & Bastelbedarf est une petite entreprise selon l'§19 UStG aucune TVA n'est calculée ni indiquée." },
{ q: "Ai-je besoin d'un compte client pour commander ?", a: "Non, vous pouvez aussi commander confortablement en tant qu'invité. Un compte est toutefois utile pour regrouper l'historique des commandes, la liste de souhaits et le suivi de livraison." },
],
// Contenu (questions/réponses) modifiable depuis l'admin depuis le 03.08.2026 dans
// src/content/faq.json (voir src/data/faq.ts) au lieu d'être codé en dur ici.
},
contact: {
title: "Écrivez-nous", lead: "Des questions sur un produit, votre commande ou une demande personnalisée ? N'hésitez pas à nous contacter !",
@@ -1092,7 +1060,7 @@ export const ui = {
shippingItems: [
"Livraison exclusivement par DHL", "Pays livrés : Allemagne, Autriche, Suisse, Luxembourg",
"Délai de livraison : 2 à 7 jours ouvrés", "Les frais de port sont définis par produit et échelonnés selon la valeur de la commande et le pays",
"Livraison gratuite dès 75 € d'achat", "L'expédition n'a lieu qu'après réception du paiement",
"Livraison gratuite dès 75 € d'achat (Allemagne), 85 € (Autriche, Luxembourg) ou 100 € (Suisse)", "L'expédition n'a lieu qu'après réception du paiement",
"Pour les livraisons en Suisse, la TVA à l'importation suisse et des frais de douane peuvent s'appliquer, à la charge du/de la destinataire",
],
paymentTitle: "💳 Moyens de paiement", paymentItems: ["PayPal", "Klarna", "Carte bancaire (Visa & Mastercard)", "Virement bancaire (paiement anticipé)"],
@@ -1138,7 +1106,7 @@ export const ui = {
bankPlaceholder: "Les coordonnées bancaires vous seront envoyées par e-mail après votre commande.",
bankHolder: "Titulaire du compte", bankIban: "IBAN", bankBic: "BIC", bankBankName: "Banque",
shippingHintTitle: "Remarque sur la livraison",
shippingHint: "Livraison exclusivement par DHL en Allemagne, Autriche, Suisse et au Luxembourg. Délai de livraison 2 à 7 jours ouvrés. Livraison gratuite dès 75 €. L'expédition n'a lieu qu'après réception du paiement.",
shippingHint: "Livraison exclusivement par DHL en Allemagne, Autriche, Suisse et au Luxembourg. Délai de livraison 2 à 7 jours ouvrés. Livraison gratuite dès 75 € (Allemagne), 85 € (Autriche, Luxembourg) ou 100 € (Suisse). L'expédition n'a lieu qu'après réception du paiement.",
shippingLink: "En savoir plus sur la livraison & le paiement →",
thankYouEyebrow: "Merci", thankYouTitle: "Votre commande a bien été reçue",
thankYouLead: "Ceci est actuellement une confirmation de démonstration (phase 1, sans traitement réel du paiement). Une fois le vrai paiement en ligne, vous recevrez ici et par e-mail une véritable confirmation de commande.",