Now I would like to trigger the change event that causes Shopify's code to update the selected variant and load the image for that variant (i.e. I want it to behave as if a user came in an clicked this PRODUCT_VARIANT option in the dropdown.
Right now, the select dropdown shows the new PRODUCT_VARIANT, but the image doesn't change, and Add to Cart adds a different product.
Any help would be appreciated.
Send your website URL please
You will notice when you load the page, the dropdown is selecting the new variant ("Lithograph Framed") but the image shown is not for that variant, and if you do Add to Cart, you get a different variant added, "Canvas Giclee Small".