Updating a products featured image and gallery
-
Hi there,
I’m using GF to create a custom product submission form for our (dokan) vendors and while the submission form is working like a charm, I’m struggling to get the featured image and product gallery to update.
The edit form pulls in a url param, then sets all the various fields, which is all working. I then created a preview panel to show the existing attached images, which is also working, including the ability to remove images from the product.
I’ve set the image field in the update feed and set a meta value for the _product_image_gallery, then showing the submitted image in the confirmation, which is getting picked up, but the images are not being saved to the product.
I recorded a quick video showing the add/update workflow:
https://www.loom.com/share/e2df273c033a4061ac9d77cc50b40bceI had a suspicion that it might have something to do with the media library plugin, so i dug through the plugin code and see it integrates with APC plugin.
Any ideas what I’m doing wrong?
We’re meant to be launching the marketplace tomorrow and this is the last thing I’m stuck on. Any ideas / suggestions would be very much appreciated ??
TIA,
Chris
- The topic ‘Updating a products featured image and gallery’ is closed to new replies.