We are using a customized version of the Dawn theme. I added a custom variant metafield that allows the admin to select a product. The intention is to be able to redirect from a non-custom product to a customizable version of the product based on which variant is selected.
The product I am testing is a non-custom wrap for an ATM machine. The customer can select which model of ATM they have so that the wrap will be sized correctly. We also offer customizable wraps for each of these models.
Here is the product I have been testing with: https://getbranded.com/products/odb-bricks-rock-solid-wrap
Based off a tutorial I found (https://ed.codes/blog/how-to-show-variant-sku-number-on-product-pages-shopify-2-0-dawn-and-free-themes), I setup a custom block that shows up in the theme customizer. This creates a button using the URL from the selected product from the custom metafield.
I tried a few different tweaks to the javascript from the tutorial linked above and a few tweaks based on a second tutorial I found https://www.youtube.com/watch?v=f32weVLQyoI
So far nothing has worked. Anyone have suggestions on what to try? Or have a method that has worked for you?