diff --git a/_dev/js/theme/components/quickview.js b/_dev/js/theme/components/quickview.js index 20ff3d76..9b87d747 100644 --- a/_dev/js/theme/components/quickview.js +++ b/_dev/js/theme/components/quickview.js @@ -16,6 +16,9 @@ const handleQuickViewOpen = ({ resp }) => { body.classList.add('js-quickview-open'); + const modalInstance = new window.bootstrap.Modal(productModal); + modalInstance.show(); + productModal.addEventListener('hidden.bs.modal', () => { productModal.remove(); body.classList.remove('js-quickview-open');