diff --git a/app/components/Newsletter.tsx b/app/components/Newsletter.tsx index d4c0174..0c6792a 100644 --- a/app/components/Newsletter.tsx +++ b/app/components/Newsletter.tsx @@ -43,8 +43,15 @@ export function Newsletter({ {/* Outer section padding — same fluid horizontal padding as all other sections */}
{formatPrice(product.price)}
+ {kleinunternehmer ? product.noShippingCost - ? null + ? "Keine Versandkosten" : "zzgl. Versand" - : `inkl. ${taxRate}% MwSt.${product.noShippingCost ? "" : " zzgl. Versand"}`; - return priceHint &&
{priceHint}
; - })()} + : `inkl. ${taxRate}% MwSt. ${product.noShippingCost ? "– keine Versandkosten" : "zzgl. Versand"}`} + {!product.noShippingCost && (Lieferzeit: {shipping.totalDays.min}–{shipping.totalDays.max} Werktage innerhalb Deutschlands diff --git a/app/todo-cards/components/Pricing.tsx b/app/todo-cards/components/Pricing.tsx index c2a7ff3..758293e 100644 --- a/app/todo-cards/components/Pricing.tsx +++ b/app/todo-cards/components/Pricing.tsx @@ -97,14 +97,13 @@ export async function Pricing() { )}
{formatPrice(product.price)}
- {(() => { - const priceHint = kleinunternehmer ++ {kleinunternehmer ? product.noShippingCost - ? null + ? "Keine Versandkosten" : "zzgl. Versand" - : `inkl. ${taxRate}% MwSt.${product.noShippingCost ? "" : " zzgl. Versand"}`; - return priceHint &&
{priceHint}
; - })()} + : `inkl. ${taxRate}% MwSt. ${product.noShippingCost ? "– keine Versandkosten" : "zzgl. Versand"}`} + {!product.noShippingCost && (Lieferzeit: {shipping.totalDays.min}–{shipping.totalDays.max} Werktage innerhalb Deutschlands diff --git a/app/todo-cards/components/TodoKartenHero.tsx b/app/todo-cards/components/TodoKartenHero.tsx index d49532c..6face39 100644 --- a/app/todo-cards/components/TodoKartenHero.tsx +++ b/app/todo-cards/components/TodoKartenHero.tsx @@ -124,14 +124,13 @@ export async function TodoKartenHero() {
{formatPrice(product.compareAtPrice!)}
)}{formatPrice(product.price)}
- {(() => { - const priceHint = kleinunternehmer ++ {kleinunternehmer ? product.noShippingCost - ? null + ? "Keine Versandkosten" : "zzgl. Versand" - : `inkl. ${taxRate}% MwSt.${product.noShippingCost ? "" : " zzgl. Versand"}`; - return priceHint &&
{priceHint}
; - })()} + : `inkl. ${taxRate}% MwSt. ${product.noShippingCost ? "– keine Versandkosten" : "zzgl. Versand"}`} + )} {!product?.noShippingCost && ( diff --git a/app/versand/components/VersandSections.tsx b/app/versand/components/VersandSections.tsx index 389adc6..ee062ba 100644 --- a/app/versand/components/VersandSections.tsx +++ b/app/versand/components/VersandSections.tsx @@ -78,8 +78,8 @@ export function VersandSections({Alle angegebenen Preise verstehen sich inklusive der gesetzlichen Mehrwertsteuer.
- Rein digitale Produkte (z.B. Downloads) verursachen keine Versandkosten und sind von den - oben genannten Beträgen ausgenommen. + Einzelne Produkte können von den oben genannten Versandkosten ausgenommen sein (z.B. + digitale Produkte) — das ist dann direkt auf der jeweiligen Produktseite vermerkt.