From 4e47c239fa57c5fa968bcc8f185ecfdb77639d82 Mon Sep 17 00:00:00 2001 From: Manuel ENACHE Date: Thu, 27 Jun 2024 16:06:58 +0300 Subject: [PATCH] fix: targe promo activation as per documentation --- _src-lp/scripts/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_src-lp/scripts/scripts.js b/_src-lp/scripts/scripts.js index db855d2d..ec8f0532 100644 --- a/_src-lp/scripts/scripts.js +++ b/_src-lp/scripts/scripts.js @@ -993,8 +993,8 @@ async function initializeProductsPriceLogic() { const content = mboxOptions?.[0]?.content; if (content) { - pid = content.pid ?? pid; - campaign = content.campaign ?? campaign; + pid = content.pid ?? pid; // used for Store + campaign = content.pid ?? campaign; // used for Zuora const promotionID = content.pid || content.campaign; if (promotionID) {