Skip to content

Commit

Permalink
Merge pull request #632 from tblivet/issue-567
Browse files Browse the repository at this point in the history
Fix: issue-567
  • Loading branch information
nicosomb authored Jun 27, 2024
2 parents 3491039 + 975579d commit 3f34ea9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
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 @@ -168,3 +169,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

0 comments on commit 3f34ea9

Please sign in to comment.