How to preselect variant present in the cart page?

How to preselect variant present in the cart page?

Khasim1
Shopify Partner
20 0 0

 

Hi 

 

I have added an option to update the variant present in the cart from the cart page itself but when I access the quickview for updating the variant it shows the first variant selected.

Below I have attached screenshots for the same, where 13 varaint is present in cart but 3 is selected when quickview is accessed.

Khasim1_0-1720421558881.png

Khasim1_1-1720421659178.png

 

 

Can anyone help me on preselecting same variant on the quickview as well.

 

Thanks

Khasim

 

Replies 0 (0)