Closed Uluwatta closed 3 years ago
Later noticed that there were couple of products that were there on the database without images ids : 3,8,10,11,12,13 to be exact, not sure whether that's a problem with the download, will have a look.
P.S : These are wonderful keep up the great stuff, thank you for the awesome efforts that you guys have put for providing really good examples etc.
Thanks!
Hey,
This probably might be a silly question, but for some reason I'm getting 'Cannot read property 'formats' of null' when I try to run this code
Tried : 1 - Checked the json, it was fine 2 - Tried printing the _product.image and it was not null 3 - For some reason it implies that the _product.image is null, but it's not.
https://github.com/strapi/strapi-starter-next-ecommerce/blob/6a8ccaa2322d938d80c01abd609b537a96fc7d22/frontend/components/ProductsList.js#L17
Thanks!