Added dynamic shopping cart control functionality