diff --git a/scripts/scripts.js b/scripts/scripts.js index 50649acff..d23b61ec3 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -187,7 +187,7 @@ async function loadEager(doc) { pageType = 'Product'; // initialize pdp - import('./initializers/pdp.js'); + await import('./initializers/pdp.js'); // Preload PDP Dropins assets preloadFile('/scripts/__dropins__/storefront-pdp/api.js', 'script');