Skip to content

Commit e3096e9

Browse files
committed
fix: html template
1 parent 6c7305c commit e3096e9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/templates/html.js

+6-4
Original file line numberDiff line numberDiff line change
@@ -155,24 +155,26 @@ ${v.images?.map((img) => `\
155155
</picture>`).join('\n')}
156156
</div>
157157
<div>${v.selections?.join(', ')}</div>
158-
</div>`).join('\n')};
158+
</div>`).join('\n')}
159159
</div>
160-
<div class="variant-attributes">
161-
${variants?.map((v) => `\
160+
161+
<div class="variant-attributes">
162+
${variants?.map((v) => `\
162163
<div>
163164
<div>sku</div>
164165
<div>${v.sku}</div>
165166
<div></div>
166167
<div></div>
167168
</div>
168-
${v.attributes?.map((attribute) => `\
169+
${v.attributes?.map((attribute) => `\
169170
<div>
170171
<div>attribute</div>
171172
<div>${attribute.name}</div>
172173
<div>${attribute.label}</div>
173174
<div>${attribute.value}</div>
174175
</div>`).join('\n')}`).join('\n')}
175176
</div>
177+
</div>
176178
</main>
177179
<footer></footer>
178180
</body>

0 commit comments

Comments
 (0)