how to limit number of products bought