diff --git a/_src-lp/scripts/scripts.js b/_src-lp/scripts/scripts.js index 12e9ece7..df3fc93e 100644 --- a/_src-lp/scripts/scripts.js +++ b/_src-lp/scripts/scripts.js @@ -1179,6 +1179,12 @@ async function loadPage() { }); } + // in the drafts folder adobe target is not loaded, so the price logic should be executed + const isPageNotInDraftsFolder = window.location.pathname.indexOf('/drafts/') === -1; + if (!isPageNotInDraftsFolder) { + initializeProductsPriceLogic(); + } + addScript('/_src-lp/scripts/vendor/bootstrap/bootstrap.bundle.min.js', {}, 'defer'); eventOnDropdownSlider();