Mariette French Country Wood and Cane 5 Piece Expandable Oval Dining Set
Mariette French Country Wood and Cane 5 Piece Expandable Oval Dining Set
SKU: 316229
Share
0 || trident > 0;
}
if (!isIE()) return;
const hiddenInput = document.querySelector('#product-form-template--14584988106814__main input[name="id"]');
const noScriptInputWrapper = document.createElement('div');
const variantSwitcher =
document.querySelector('variant-radios[data-section="template--14584988106814__main"]') ||
document.querySelector('variant-selects[data-section="template--14584988106814__main"]');
noScriptInputWrapper.innerHTML = document.querySelector(
'.product-form__noscript-wrapper-template--14584988106814__main'
).textContent;
variantSwitcher.outerHTML = noScriptInputWrapper.outerHTML;
document.querySelector('#Variants-template--14584988106814__main').addEventListener('change', function (event) {
hiddenInput.value = event.currentTarget.value;
});
});