I want to set up a site with a lot of pages for different products. I wouldn’t like to upload the product images manually in the panel one by one.
Does anybody know a way to e.g. upload all images named by the product they display into one folder and then let the product pages grab their images on their own?
If the product pages don’t exist yet, you could use a page.create:after hook that fetches the relevant image(s) for the product from such a pool folder.
When I try to add a page in the backend (which triggers the creation of virtual subpages), I get the following error: The file exists and cannot be overwritten
I know that this is very little information, but maybe you see some problems in my code or in the things I’d like to accomplish generally.
Any held that points me in the right direction is very much appreciated.