Skip to content

Commit

Permalink
v15 fixes (Shopify#3547)
Browse files Browse the repository at this point in the history
* [Product] Zoom on hover fix on variant change (Shopify#3511)

* Zoom on hover fix on variant change

* add conditional

* Add early return in updateQuantityRules function if no quantity selector is present (Shopify#3515)

* Fix bug where request url contains duplicated params when switching before the prior response is returned (Shopify#3521)

* Fixes bug where image flashes when switching to variant with the same featured image; fixes bug where variant without featured image would fallback to the product image (Shopify#3516)

Fix issue with thumbnail not updating

* Fixed bug when reading selected option values. Removed unused script tag containing variant json. (Shopify#3520)

* escape titles that weren't (Shopify#3514)

* Support multiple product templates for the same combined listing (Shopify#3526)

* Updated quick order list to rely on the variant title field (Shopify#3528)

* Release15fix (Shopify#3531)

* Revert "Update from Shopify for theme dawn/release/15.0.0"

This reverts commit 5b20d89.

* Revert "Update from Shopify for theme dawn/release/15.0.0"

This reverts commit f0b822d.

* Revert "Update from Shopify for theme dawn/release/15.0.0"

This reverts commit 64e1d8e.

* Revert "Update from Shopify for theme dawn/release/15.0.0"

This reverts commit a8a7529.

---------

Co-authored-by: Ludo <ludo.segura@shopify.com>
Co-authored-by: Arthur <48017311+Roi-Arthur@users.noreply.github.com>
Co-authored-by: Lars Hoffbeck <lars.hoffbeck@shopify.com>
Co-authored-by: shopify[bot] <79544226+shopify[bot]@users.noreply.github.com>
  • Loading branch information
5 people authored and NikoBerger committed Sep 26, 2024
1 parent baa75d1 commit d551299
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/media-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ if (!customElements.get('media-gallery')) {
if (prepend) {
activeMedia.parentElement.firstChild !== activeMedia && activeMedia.parentElement.prepend(activeMedia);

activeMedia.parentElement.firstChild !== activeMedia && activeMedia.parentElement.prepend(activeMedia);

if (this.elements.thumbnails) {
const activeThumbnail = this.elements.thumbnails.querySelector(`[data-target="${mediaId}"]`);
activeThumbnail.parentElement.firstChild !== activeThumbnail &&
Expand Down

0 comments on commit d551299

Please sign in to comment.