Open nicanthoni opened 3 weeks ago
Items uploading successfully and adding to vendor / item models as expected. However, with img sources for those uploads being stored in /uploads folder, the images for those specfic items are not rendering in do to current logic for rendering seeded products' images.
Multer uploading files and adding to data base. Imgs rendering due to addition of conditional check on singleproduct and all product pages. Checks how the img property starts, to determine if seeded item of uploaded via multer:
Example:
Fixed - item previously wishlisted when testing was deleted. This was causing issues as it had been wishlisted, and the item no longer existed but remained in wishlist. Manually removed item from db to resolve.
Implement multer for profile picture uploads and vendor item uploads