x97wehner Posted January 27 Posted January 27 Hello, I am using the @datakick module for product feeds to google and others. As part of this, I wish to submit additional images to the feed. Because it is XML, there has to be a line for each additional image in the feed in format <g:additional_image_link>https://www.example.com/image2.jpg </g:additional_image_link> <g:additional_image_link>https://www.example.com/image3.jpg </g:additional_image_link> The problem is that for some products there is 1 additional image. For others, there are up to six. Questions: - Is there a dynamic way to setup the template so that it understands how many additional images there are and inserts a line for each? - Or, more likely, if I insert a line for each manually in the template and select to omit blanks, how do I formulate the code so that it grabs the next available image for each xml line? I appreciate the assistance.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now