From 9e4b16be75eb70c30a3daf9ec9a22fe03f8266d6 Mon Sep 17 00:00:00 2001 From: Shivani Kohli Date: Thu, 20 Nov 2025 15:07:28 -0800 Subject: [PATCH 1/6] add otherCosts for modal ES/IT --- content/modals/ES/long_term.json | 1 + content/modals/IT/long_term.json | 1 + content/offers/ES/long_term.json | 2 ++ content/offers/ES/long_term_en.json | 1 + content/offers/IT/long_term.json | 2 ++ content/offers/IT/long_term_en.json | 1 + demo/standalone-modal.html | 3 ++- src/components/modal/v2/parts/OfferAccordion.jsx | 4 ++++ 8 files changed, 14 insertions(+), 1 deletion(-) diff --git a/content/modals/ES/long_term.json b/content/modals/ES/long_term.json index a7da82adff..3edbf92f6d 100644 --- a/content/modals/ES/long_term.json +++ b/content/modals/ES/long_term.json @@ -4,6 +4,7 @@ "offerCountry": "ES", "useV5Design": "true", "v5.1": "true", + "otherCosts": "0 €", "variables": { "transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}", "qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}", diff --git a/content/modals/IT/long_term.json b/content/modals/IT/long_term.json index c5b1c1b40c..a9236d54dc 100644 --- a/content/modals/IT/long_term.json +++ b/content/modals/IT/long_term.json @@ -4,6 +4,7 @@ "offerCountry": "IT", "useV5Design": "true", "v5.1": "true", + "otherCosts": "0 €", "variables": { "transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}", "qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}", diff --git a/content/offers/ES/long_term.json b/content/offers/ES/long_term.json index 2c41c66c42..a805731785 100644 --- a/content/offers/ES/long_term.json +++ b/content/offers/ES/long_term.json @@ -14,6 +14,7 @@ "formattedTotalCost": "{formattedTotalCost}", "formattedTotalInterest": "{formattedTotalInterest}", "formattedTransactionAmount": "{formattedTransactionAmount}", + "otherCosts": "0 €", "variables": { "transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}", "qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}", @@ -44,6 +45,7 @@ "offerNumInstallments": "{total_payments} plazos", "eMoney": "Importe total del crédito", "totalInterest": "Importe del interés", + "otherCosts": "Otros costes", "total": "Importe total adeudado" } } diff --git a/content/offers/ES/long_term_en.json b/content/offers/ES/long_term_en.json index 52b3b300b8..846ec7a358 100644 --- a/content/offers/ES/long_term_en.json +++ b/content/offers/ES/long_term_en.json @@ -44,6 +44,7 @@ "offerNumInstallments": "{total_payments} installments", "eMoney": "Credit amount", "totalInterest": "Interest amount", + "Other costs": "Other costs", "total": "Total amount owed" } } diff --git a/content/offers/IT/long_term.json b/content/offers/IT/long_term.json index 762d29a7b4..f0d388ff64 100644 --- a/content/offers/IT/long_term.json +++ b/content/offers/IT/long_term.json @@ -14,6 +14,7 @@ "formattedTotalCost": "{formattedTotalCost}", "formattedTotalInterest": "{formattedTotalInterest}", "formattedTransactionAmount": "{formattedTransactionAmount}", + "otherCosts": "0 €", "variables": { "transaction_amount": "${eval(transaction_amount ? transaction_amount : '-')}", "qualifying_offer": "${eval(CREDIT_OFFERS_DS.qualifying_offer ? CREDIT_OFFERS_DS.qualifying_offer : 'false')}", @@ -44,6 +45,7 @@ "offerNumInstallments": "{total_payments} rate", "eMoney": "Importo totale del credito", "totalInterest": "Importo degli interessi", + "otherCosts": "Altri costi", "total": "Importo totale dovuto" } } diff --git a/content/offers/IT/long_term_en.json b/content/offers/IT/long_term_en.json index 35df701529..0b361636a6 100644 --- a/content/offers/IT/long_term_en.json +++ b/content/offers/IT/long_term_en.json @@ -44,6 +44,7 @@ "offerNumInstallments": "{total_payments} installments", "eMoney": "Credit amount", "totalInterest": "Interest amount", + "otherCosts": "Other costs", "total": "Total amount owed" } } diff --git a/demo/standalone-modal.html b/demo/standalone-modal.html index 9113afe10c..5810531efd 100644 --- a/demo/standalone-modal.html +++ b/demo/standalone-modal.html @@ -10,7 +10,8 @@