Hey All,
I am working on making a custom product layout and would rather not use the “product gallery” element, but instead build something using the looper provider/looper consumer functionality of your theme and the new slider element.
I am a little stuck on what query i should put into the “query string” looper provider that will return the current products “product gallery” images.
I am able to use this {{dc:acf:post_field field="_product_image_gallery"}}
and it will return an array of the product gallery images, but I don’t really know where to go from here.
Any help would be great.
Thanks!
NOTE: I FOUND A SOLUTION
The looper provider settings I used are:
Provider Type: String
String: {{dc:acf:post_field field="_product_image_gallery"}}
Delimiter: ,
(no spaces)
This allowed me to loop through the array that is printed upon calling {{dc:acf:post_field field="_product_image_gallery"}}
and then I can call the image using the “Dynamic Content” source “Current Item” under the “Looper” category.
I saw that there were some other people asking this same thing after posting, but the answers they got said that there wasn’t a looper solution for this, so I wanted to share this so that others can see that they can do this all using looper settings and dynamic content.
Thanks!