fixed refs to BASE_URL, dynamically fetch and display total prices