Adding images for a product requires to be a URL and not a URI (would be great to just use file:// and upload from local). Using Wordpress Rest API to upload images on media, than use such URL in the product images will upload again the images already present in media.
It would be great to allow local upload or avoid the duplication of images if they are already in media.
Adding images for a product requires to be a URL and not a URI (would be great to just use file:// and upload from local). Using Wordpress Rest API to upload images on media, than use such URL in the product images will upload again the images already present in media. It would be great to allow local upload or avoid the duplication of images if they are already in media.