groceries/picnic: label the Picnic Family member discount
Deploy production / deploy (push) Successful in 1m22s
Deploy production / deploy (push) Successful in 1m22s
This commit is contained in:
1 parent
c094754c5b
commit
e1e2bee590
2 files changed
+10
-1
No files matched your search
@@ -123,7 +123,12 @@ export function picnicItem(
|
||||
sizeText: texts[0]?.trim() || null,
|
||||
priceCents: promo ? ref : now,
|
||||
promoPriceCents: promo,
|
||||
promoLabel: promo ? promoText?.trim() || 'Actie' : null,
|
||||
// "Family" is Picnic's member discount (Picnic Family), not a store-wide promo.
|
||||
promoLabel: promo
|
||||
? promoText?.trim() === 'Family'
|
||||
? 'Picnic Family-korting'
|
||||
: promoText?.trim() || 'Actie'
|
||||
: null,
|
||||
storeUnitPrice: null,
|
||||
storeUnitBasisCents: null,
|
||||
category: cat.category,
|
||||
|
||||
Reference in new issue
Block a user