Wix Stores Dynamic Product Page Variants

Trying to get product variants pulling through to a drop down on a Dynamic Product Page, then need customers to select a variant and add to basket (Shouldn’t be able to continue until a variant is selected.) Product is Set Up Correctly in Wix Stores with 2 variants.

Current Page Layout:


I know that when add to cart is clicked a pop-up opens allowing you to select Width but I really need to have this on the product page itself. (Example of pop-up below)

I’m comfortable linking up the rest of the product information to the page but need help with this functionality. Any help appreciated.

B

Then you need to parse the field that contains the variants to a dropdown. Read in api docs how to get product variants data then parse that into dropdown