// correct quantity for product with attribute when buy