Hi Anderw,
Thanks for reaching out to us. Unfortunately, the feature you are looking for is not currently available.
But it’s a great idea. Please send the feature request here: https://storepress.fider.io/
and ask your other to upvote it.
Thank You
Trying to programmatically create variation galleries on product generation
Anderw Summers
Hi,
I have a script that procedurally/programmatically creates products with generated images, randomly generated skus, etc, and I’d love to replace my current gallery with individual galleries for each product.
My thought was to add $variation->set_gallery_image_ids($imagesArray) (where $variation= new WC_Product_Variation();) similar to the method for setting the gallery normally. My overall goal is to remove the standard image gallery altogether, and make it so that only the variations have galleries so that when someone selects a green product, they only see the green product images.
Best regards,
Andrew