code: public function getTotalPriceAttribute()
      {
          if (empty($this->shopCalculations)) $this->runCalculations();
          return round($this->shopCalculations->totalPrice, 2);
      }
docs: Returns total price of all the items in cart.
  
  @return float