I have made custom variant options and now I am not able to figure out how this variant id changes on variant switching as this form is submitted and this id is used by form data to add product in the cart.