Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/scss/custom/pages/product/_product.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
width: 2.5rem;
min-width: 2.5rem;
height: 2.5rem;
cursor: pointer;
background-color: #fff;
border: none;
border-radius: 50%;
Expand Down Expand Up @@ -140,3 +141,12 @@
}
}
}

// Hide product image zoom on quickview modal
body.modal-open {
.quickview {
.product__images__modal-opener {
display: none;
}
}
}
4 changes: 4 additions & 0 deletions templates/catalog/_partials/product-cover-thumbnails.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,7 @@
</picture>
{/if}
</div>

{block name='product_images_modal'}
{include file='catalog/_partials/product-images-modal.tpl'}
{/block}
4 changes: 0 additions & 4 deletions templates/catalog/product.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@
{hook h='displayFooterProduct' product=$product category=$category}
{/block}

{block name='product_images_modal'}
{include file='catalog/_partials/product-images-modal.tpl'}
{/block}

{block name='page_footer_container'}
{block name='page_footer'}
{/block}
Expand Down