Open bakura10 opened 8 years ago
As per https://cartjs.org/pages/guide#data-api-submitting-forms, there are browser limitations with uploading files via Ajax. These limitations are probably not as significant with modern browsers, so it may be possible to feature-detect and enable Ajax uploads conditionally based on browser support. Happy to look at PRs or to discuss further if there's an easy fix.
what do you think about using formdata for file uploads?
https://www.mkyong.com/jquery/jquery-ajax-submit-a-multipart-form/
thanks for this wonderful library!
Hi,
Did anyone had experience with uploading file properties using CartJS? When I set the properties into the addToCart method, it jsut sends the file name to the back-end instead of uploading it.
Thanks ^^.