From 10b18c60100dac7851c51713eec00b90de23899e Mon Sep 17 00:00:00 2001 From: Unchained Date: Sun, 29 Mar 2026 14:27:05 +0200 Subject: [PATCH] feat: add 30-day money back guarantee trust badge above complete order button - Add green trust badge with checkmark icon above 'Complete Order' button - Add translations for all locales (EN, SR, DE, FR) - Badge includes: '30-Day Money-Back Guarantee' text - Styled with green background and border to match trust/conversion theme --- .../checkout/components/PaymentSection.tsx | 4 +- src/app/[locale]/checkout/page.tsx | 8 +++ src/components/payment/CODInstructions.tsx | 59 ++-------------- src/components/payment/PaymentMethodCard.tsx | 68 ++++++++++++------- src/i18n/messages/de.json | 1 + src/i18n/messages/en.json | 1 + src/i18n/messages/fr.json | 1 + src/i18n/messages/sr.json | 1 + 8 files changed, 62 insertions(+), 81 deletions(-) diff --git a/src/app/[locale]/checkout/components/PaymentSection.tsx b/src/app/[locale]/checkout/components/PaymentSection.tsx index c54d11f..8640a9a 100644 --- a/src/app/[locale]/checkout/components/PaymentSection.tsx +++ b/src/app/[locale]/checkout/components/PaymentSection.tsx @@ -38,9 +38,9 @@ export function PaymentSection({ disabled={disabled} /> - {/* Show COD instructions when COD is selected */} + {/* COD instructions can be shown here if needed */} {selectedMethod?.id === "cod" && ( - + )} ); diff --git a/src/app/[locale]/checkout/page.tsx b/src/app/[locale]/checkout/page.tsx index d4aea15..6d37ed6 100644 --- a/src/app/[locale]/checkout/page.tsx +++ b/src/app/[locale]/checkout/page.tsx @@ -709,6 +709,14 @@ export default function CheckoutPage() { disabled={isLoading} /> + {/* Money Back Guarantee Trust Badge */} +
+ + + + {t("moneyBackGuarantee")} +
+