Skip to content

Instantly share code, notes, and snippets.

@hayata19791218
Created March 24, 2023 12:24
public function showCart()
{
$user_id = Auth::id();
$data['my_carts'] = Cart->where('user_id',$user_id)->get();
return $data;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment