I want to automatically select the suggested frame size on my product page, when the customer clicks "select size" in the Online Sizing widget.
We got that example covered in our CodePen example as well. Here how you would configure that:
We recommend that you use the product code passed in the payload to your function to select the correct bike in your shop as this is least vulnerable.
The payload passed to your function looks like this:
Depending on your function you may want to change the label of the result button from Select size to something else. Here you find how you can do this.