Page 1 of 1

Images groups

Posted: 29 Dec 2017, 19:58
by Travin
Hi
I want to add different images to different products options. For example, 5 photos for shoes size M, 4 different photos for size XL.
I think there are no default solutions for that. Can you explain me the way i should write a code for this? I can do a pull request if it will be good descision.

Re: Images groups

Posted: 30 Dec 2017, 14:30
by aimeos
It's already possible if you add the variant attributes also to the images but you have to do that in the expert mode:
https://github.com/aimeos/ai-client-htm ... rd.php#L17

Re: Images groups

Posted: 30 Dec 2017, 19:44
by Travin
A little bit not user friendly interface, but it works! i think it will be awesome in the future :) . Thank you! Merry christmas and happy new year!

Re: Images groups

Posted: 31 Dec 2017, 11:39
by aimeos
Yes, there are still some rough edges in the admin interface that needs to be better in the next versions.
We always appreciate contributions ;-)

Re: Images groups

Posted: 13 Jan 2018, 21:09
by aimeos
In the dev-master branch, the attributes are now automatically associated to the images so it works automatically as soon as you add an image to a product variant :-)