Issaic Mid-Century Modern 5-Piece Fabric Upholstered Dining Set w/ Wood Frame
Issaic Mid-Century Modern 5-Piece Fabric Upholstered Dining Set w/ Wood Frame
SKU: 299978
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;
});
});