How would I link purchases so that they reduce if two or more are purchased at the same time?