Changes to product.py and its view