public function shoppingCart()
    {
        $shoppingCart = $this->orders()->with('details')
            ->where('type', 'cart')
            ->first();

        return is_null($shoppingCart) ? collect() : $shoppingCart->details;
    }