optimize Cart total_price property