{
$nextTick(async () => {
const currentTextBoxValues = JSON.parse(JSON.stringify(textBoxValues));
console.log('currentTextBoxValues before', currentTextBoxValues);
if (event.detail.option1) {
option1 = event.detail.option1;
}
if (event.detail.option2) {
option2 = event.detail.option2;
}
if (event.detail.option3) {
option3 = event.detail.option3;
}
variant = variants.find((variant) => {
if (option1) {
if (variant.options[option1Index] != option1) {
return false;
}
}
if (option2) {
if (variant.options[option2Index] != option2) {
return false;
}
}
if (option3) {
if (variant.options[option3Index] != option3) {
return false;
}
}
return true;
});
if (variant.featured_image?.src) {
image = variant.featured_image?.src;
variantImage = variant.featured_image?.src;
}
const resp = await fetch(window.location.pathname + '?variant=' + variant.id);
const html = await resp.text();
const parser = new DOMParser();
const doc = parser.parseFromString(html, 'text/html');
doc.querySelector('#reviewStarsLoader').remove();
doc.querySelector('#reviewStars').innerHTML = $refs.productContainer.querySelector('#reviewStars').innerHTML;
$refs.productContainer.innerHTML = doc.querySelector('#productContainer').innerHTML;
textBoxValues = currentTextBoxValues;
console.log('currentTextBoxValues after', currentTextBoxValues);
reloadWishlistButton();
history.replaceState(null, null, '?variant=' + variant.id);
});
};
"
class="container flex flex-col md:grid grid-cols-2 gap-6 md:gap-8 py-6 md:py-[52px]"
>
Ladies V-Neck Sweater LSW285/E27039
Deep Berry / XS
Write a review
$50.38
No product options selected!
Please select all the possible options
Color:
Deep Berry
Black
Charcoal Heather
Moroccan Blue
Size:
XS
S
M
L
XL
2XL
3XL
4XL
Delivery:
 10 - 12 Oct, 2023
Shipping:
 Free for orders above $100
Description
A beautiful and versatile addition to any work wardrobe, our fine-gauge v-neck sweater has fully-fashioned sleeves for strength, comfort and longer wear. | 60/40 cotton/nylon Rib knit v-neck, cuffs and hem Longer rib knit height at cuffs for character