Is there a single function to get an array of products ALONG with image machine image references? Is there at least a single function to get imagemachine images on a product, by product basis?
Announcement
Collapse
No announcement yet.
Functon to Load Products with Image Machine Image References
Collapse
X
-
Functon to Load Products with Image Machine Image References
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.comTags: None
-
Re: Functon to Load Products with Image Machine Image References
Code:<mvt:do name="l.image_count" file="g.Module_Library_DB" value="ProductImageDataList_Load_Product(l.settings:product:id, l.settings:imagedata)" /> <mvt:foreach iterator="data" array="imagedata"> Image Data:<br> &mvt:data:image:id;<br> &mvt:data:image:height;<br> &mvt:data:image:width;<br> &mvt:data:image:image;<br> &mvt:data:image:refcount;<br> ImageType Data:<br> &mvt:data:imagetype:code;<br> &mvt:data:imagetype:descrip;<br> </mvt:foreach>
There are also functions to load the image for variants as well.
-
Re: Functon to Load Products with Image Machine Image References
Thanks Brennan,
Might want to update this reference:
http://www.miva.com/videos/articles/...ement-examples
with that info. True, its not a "replacement" for Toolkit, but I'd think most people would be asking to load product data similar to have a lot of current template code loads them.Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
Comment