Improving functionality of cart total