public function total()
        {
            $total = 0;
            $cart = $this->getContent();

            if(empty($cart->_fields)) {
                return $total;
            }

            foreach($cart->_fields as $rowId) {
                $row = $cart->$rowId;
                $total += $row->subtotal;
            }

            return $total;
        }