6 392
edições
Sem resumo de edição |
Sem resumo de edição |
||
Linha 129: | Linha 129: | ||
imagesHtml += ` | imagesHtml += ` | ||
<div class="variation-item"> | <div class="variation-item"> | ||
<img src="${variation.additionalImages[0].url}" alt="Variation Image" class="variation-image" data-variation-index="${index}" style="width: ${variation.additionalImages[0].width | <img src="${variation.additionalImages[0].url}" alt="Variation Image" class="variation-image" data-variation-index="${index}" style="width: ${variation.additionalImages[0].width}px;"> | ||
<div class="swap-button" data-variation-index="${index}"></div><br> | <div class="swap-button" data-variation-index="${index}"></div><br> | ||
<div class="image-info"> | <div class="image-info"> |