diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue
index 19e190f5f..01ebe64be 100644
--- a/src/fmg-components/cart/cart.vue
+++ b/src/fmg-components/cart/cart.vue
@@ -33,9 +33,10 @@
:key="i"
class="packaged-cart-item">
{{ cartItem.name
- }}
+ >{{
+ cartItem.name
+ }}
- Promo code {{ promoCode }} applied
+ Promo code {{ promoCode }} applied
+
@@ -919,6 +922,9 @@ export default {
&:last-child {
justify-content: flex-end;
}
+ &.promo {
+ text-transform: uppercase;
+ }
}
a {
font-size: 0.875rem;
@@ -1012,6 +1018,11 @@ export default {
padding: 2px 8px;
background-color: $green-100;
border-radius: 12px;
+
+ &.promo-code {
+ text-transform: uppercase;
+ padding: 0;
+ }
}
}
}
diff --git a/src/fmg-components/promo-modal-question/promo-modal-question.vue b/src/fmg-components/promo-modal-question/promo-modal-question.vue
index 716cba88c..7db0acc94 100644
--- a/src/fmg-components/promo-modal-question/promo-modal-question.vue
+++ b/src/fmg-components/promo-modal-question/promo-modal-question.vue
@@ -199,11 +199,6 @@ export default {
false
);
- // ensure that all promo codes that return are in all caps format
- promoValidationResponse?.orderPromos?.forEach((orderPromo) => {
- orderPromo.promoCode = orderPromo.promoCode.toUpperCase();
- });
-
return {
isValid: !("errorCode" in promoValidationResponse),
promoCode: promoValidationResponse?.orderPromos, // should be an array of promos