Thank you Mr Omar for your response.
I have purchased the product and I has a problem onClick on variation , the qty is set to last display qty
I need if click on variation to set the minimum of selected variation
for example if variation (Pallet) qty is 28
and variation (truck) qty is 616
if I selected any of them and get back to other it should change qty to the minimum of select variation
currently if I selected truck the qty display 616
if I switch to Pallet , the qty remains 616
How would I fix this ?