Woocommerce additional variable imges
-
Hi,
I have installed additional variable images plugin by woocommerce. And it is not importing variable images correctly.
Here is a xml data set that I’m using: https://pastebin.com/QYS5xa7c
Product variations are child elements of combinations element in this case.
I’m using option: I’m importing XML and my variations are child XML elements
and all data is imported correctly except variation additional imagess, this is the line I place in image fieldd to locate image elements.[FOREACH({images/element})]{url},[ENDFOREACH]
The problem is it mixes variation images and base images defined in top level product element.
I have 4 base product images (blue dresses)
1. https://cdn.dsmcdn.com//ty65/product/media/images/20210322/16/74371228/154895367/1/1_org_zoom.jpg
2. https://cdn.dsmcdn.com//ty74/product/media/images/20210322/16/74371228/154895367/2/2_org_zoom.jpg
3. https://cdn.dsmcdn.com//ty62/product/media/images/20210322/16/74371228/154895367/3/3_org_zoom.jpg
4. https://cdn.dsmcdn.com//ty49/product/media/images/20210322/16/74371228/154895367/4/4_org_zoom.jpgAnd for example the first variation for color pembe and size 32 i have 5 images all images are pink dresses but when imported it imports only first image then 3 blue dresses images above 2. 3. and 4. and fifth pink dress. But it should only place pink dresses defined in the child images set of variation.
here is screenshot: https://imgur.com/a/s99kYhn
It is mixing base product images and variation images.
So for variation image it takes good image but for additional images it is not picking from right data set.
- The topic ‘Woocommerce additional variable imges’ is closed to new replies.