Skip to content

Commit

Permalink
fix: html template
Browse files Browse the repository at this point in the history
  • Loading branch information
maxakuru committed Oct 25, 2024
1 parent 6c7305c commit e3096e9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/templates/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,24 +155,26 @@ ${v.images?.map((img) => `\
</picture>`).join('\n')}
</div>
<div>${v.selections?.join(', ')}</div>
</div>`).join('\n')};
</div>`).join('\n')}
</div>
<div class="variant-attributes">
${variants?.map((v) => `\
<div class="variant-attributes">
${variants?.map((v) => `\
<div>
<div>sku</div>
<div>${v.sku}</div>
<div></div>
<div></div>
</div>
${v.attributes?.map((attribute) => `\
${v.attributes?.map((attribute) => `\
<div>
<div>attribute</div>
<div>${attribute.name}</div>
<div>${attribute.label}</div>
<div>${attribute.value}</div>
</div>`).join('\n')}`).join('\n')}
</div>
</div>
</main>
<footer></footer>
</body>
Expand Down

0 comments on commit e3096e9

Please sign in to comment.