dropdown for product variant picker
parent
240d339647
commit
f5d7eb2802
|
@ -173,6 +173,8 @@
|
|||
const selectedVariant = event.currentTarget.getAttribute('data-value');
|
||||
customSelectedValue.innerText = event.currentTarget.innerText;
|
||||
|
||||
console.log("event", event)
|
||||
|
||||
// Set the selected option in the original select element
|
||||
selectElement.value = selectedVariant;
|
||||
|
||||
|
|
Loading…
Reference in New Issue