fixing logic to show price. take out from the views and putting into the models