Update indexfunctions.php

added beginnings of single product view page