Adding variation gallery via PHP?
-
Hi,
Currently, I generate woocommerce products programmatically in a custom plugin I wrote. I use
update_post_meta($variation_id, ‘_thumbnail_id’, $generatedImages[$myproduct->productImage]);
to set the variation thumbnail. now, i want to use this plugin to als set a variation gallery. How can this be achived?
Thank you,
Lorenz
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding variation gallery via PHP?’ is closed to new replies.