Skip to content

Commit

Permalink
Update from Shopify for theme dawn/lh-combined-listings-bugfixes
Browse files Browse the repository at this point in the history
Committed from shop: combined-listings-test
  • Loading branch information
shopify[bot] authored May 29, 2024
1 parent fa002ca commit e49ce52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/product-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ if (!customElements.get("product-info")) {

this.updateURL(baseUrl, variant?.id);

document.querySelector('head title').innerHTML = html.querySelector('head title').innerHTML

// If we are in an embedded context (quick add, featured product, etc), only swap product info.
// Otherwise, refresh the entire page content and sibling sections.
if (this.dataset.updateUrl === "false") {
Expand Down

0 comments on commit e49ce52

Please sign in to comment.