@jlrdw & @martinbean
just for make it clear , i have read the docs and it says:
In web applications, one of the most common use-cases for storing files is storing user uploaded files such as
profile pictures, photos, and documents. Laravel makes it very easy to store uploaded files using the store method on an uploaded file instance.
so , i used store method like that :
$path = $products->store('public/customer_order_products');
and i specified public folder because i want the file to be publicly accessible . so asset method give me the absolute path :
http://127.0.0.1:8000/storage/public/customer_order_products/iNUEpTwIekpcibPoSHk2cnYRSje3jEEpliYC7HAN.jpeg
and that path not working ! it only works without public like the following :
http://127.0.0.1:8000/storage/customer_order_products/iNUEpTwIekpcibPoSHk2cnYRSje3jEEpliYC7HAN.jpeg
and to make it like that i used :
{{ url('/') }}{{ Storage::url($product->product) }}
it solve the problem but i didn't understand how the things work ! or even what Storage is or how to use it ! .
i get confused after reading the docs so i asked here . BTW thanks for your help .