Several fixes for cart, account creation, and product page templates