Im struggling to do a function like this.In the admin panel of my site,there is an option for the admin to select multiple orders using check boxes and marked them as accepted.And I need to update the product table at the same time according to the product quantities of the selected orders.How should I make this thing happen??
Do I need to put a for loop / a while loop to take the product Ids which need to be update??
Im so glad if some one help me to do this...Please..:)