dropdown for product variant picker

main
alexanderroese 2024-07-13 19:01:32 +02:00
parent 240d339647
commit f5d7eb2802
1 changed files with 2 additions and 0 deletions

View File

@ -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;