Skip to content

Commit

Permalink
Update from Shopify for theme modular-theme/bene-dev
Browse files Browse the repository at this point in the history
Committed from shop: andre-theme-dev
  • Loading branch information
shopify[bot] authored Sep 29, 2024
1 parent 78d08ea commit e9dd8dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/product-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ProductForm extends HTMLElement {
.then((res) => res.json())
.then((res) => {
const template = document.createElement("template");
template.innerHTML = res[this.section].trim();
template.innerHTML = data.trim();
const new_form = template.content.querySelector('product-form');
this.replaceWith(new_form);
this.loading = false;
Expand Down
2 changes: 1 addition & 1 deletion templates/product.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"width": "100%"
},
"aspect_ratio_type": "custom",
"aspect_ratio": "1",
"aspect_ratio": "1.1",
"spacing_bottom": "none",
"placeholder": "image"
}
Expand Down

0 comments on commit e9dd8dd

Please sign in to comment.