Added a function to get the root section URL and fixed the product links
Final bug fixes before moving to live server