/** * Deletes a product from the shopping cart. * * @param string $id * @return \Illuminate\Http\RedirectResponse */ public function countAjax() { return $this->wishlist->items()->count(); }