admin>>a product is added and some of the variants are also added>>main product stock is added and all other variant stock gets updated to that value>>but in cart page at the user end if a variant is selected its stock is displayed as the total number of product with its variants and and as the purchase progress and payment is done>>stock is not updating properly>>see the screen shot