diff --git a/storefront/components/Blocks/PromoCode/PromoCodeInfo.tsx b/storefront/components/Blocks/PromoCode/PromoCodeInfo.tsx index e9f8470b56..4e07a897a2 100644 --- a/storefront/components/Blocks/PromoCode/PromoCodeInfo.tsx +++ b/storefront/components/Blocks/PromoCode/PromoCodeInfo.tsx @@ -1,7 +1,7 @@ import { RemoveIcon } from 'components/Basic/Icon/RemoveIcon'; import { LabelLink } from 'components/Basic/LabelLink/LabelLink'; import { TIDs } from 'cypress/tids'; -import { TypePromoCode } from 'graphql/types'; +import { TypePromoCode, TypePromoCodeTypeEnum } from 'graphql/types'; import useTranslation from 'next-translate/useTranslation'; type PromoCodeInfoProps = { @@ -22,9 +22,11 @@ export const PromoCodeInfo: FC = ({ onRemovePromoCodeCallbac

- {t( - 'The discount was applied to all non-discounted items to which the promotion applies according to the rules.', - )} + {promoCode.type === TypePromoCodeTypeEnum.FreeTransportPayment + ? t('The discount was applied to the order transport and payment.') + : t( + 'The discount was applied to all non-discounted items to which the promotion applies according to the rules.', + )}

); diff --git a/storefront/public/locales/cs/common.json b/storefront/public/locales/cs/common.json index dde0761696..f1069576af 100644 --- a/storefront/public/locales/cs/common.json +++ b/storefront/public/locales/cs/common.json @@ -412,6 +412,7 @@ "The amount of discounts": "Výše slevy", "The current password is incorrect": "Současné heslo je nesprávné", "The discount was applied to all non-discounted items to which the promotion applies according to the rules.": "Sleva byla uplatněna na všechny již neslevněné položky na které se akce vztahuje podle pravidel.", + "The discount was applied to the order transport and payment.": "Sleva byla aplikována na dopravu a platbu v objednávce", "The feedback reporting tool has been successfully activated for you": "Nástroj pro hlášení zpětné vazby vám byl úspěšně aktivován", "The feedback tool has been successfully deactivated for you": "Nástroj pro hlášení zpětné vazby vám byl úspěšně deaktivován", "The item has been added to your wishlist.": "Produkt byl přidán do vašich oblíbených produktů.", diff --git a/storefront/public/locales/en/common.json b/storefront/public/locales/en/common.json index cb75883e27..b92c4a112a 100644 --- a/storefront/public/locales/en/common.json +++ b/storefront/public/locales/en/common.json @@ -396,6 +396,7 @@ "The amount of discounts": "The amount of discounts", "The current password is incorrect": "The current password is incorrect", "The discount was applied to all non-discounted items to which the promotion applies according to the rules.": "The discount was applied to all non-discounted items to which the promotion applies according to the rules.", + "The discount was applied to the order transport and payment.": "The discount was applied to the order transport and payment.", "The feedback reporting tool has been successfully activated for you": "The feedback reporting tool has been successfully activated for you", "The feedback tool has been successfully deactivated for you": "The feedback tool has been successfully deactivated for you", "The item has been added to your wishlist.": "The item has been added to your wishlist.", diff --git a/storefront/public/locales/sk/common.json b/storefront/public/locales/sk/common.json index 0b602fd6d6..a9ec788fba 100644 --- a/storefront/public/locales/sk/common.json +++ b/storefront/public/locales/sk/common.json @@ -412,6 +412,7 @@ "The amount of discounts": "Výška zľavy", "The current password is incorrect": "Súčasné heslo je nesprávne", "The discount was applied to all non-discounted items to which the promotion applies according to the rules.": "Zľava bola uplatnená na všetky už nezľavnené položky na ktoré sa akcia vzťahuje podľa pravidiel.", + "The discount was applied to the order transport and payment.": "Zľava bola uplatnená na dopravu a platbu objednávky.", "The feedback reporting tool has been successfully activated for you": "Nástroj na nahlasovanie spätnej väzby bol pre vás úspešne aktivovaný", "The feedback tool has been successfully deactivated for you": "Nástroj spätnej väzby bol pre vás úspešne deaktivovaný", "The item has been added to your wishlist.": "Produkt bol pridaný do vašich obľúbených produktov.",