Can someone help me with this code. For a long time, I wasn't using the default images in miva...we always used scene7 and now we are starting to use the images and image machine.
We have legacy code that using the quick list array for the also bought section of our site
<!--Here is the code that was displaying our image fine-->
Now, I want to display the image which is now in miva. We have some image types, one is called basket, so I tried this.
I also tried this:
Nothing seems to show. Any ideas?
We have legacy code that using the quick list array for the also bought section of our site
Code:
<mvt:item name="toolkit" param="vquick|pcount|l.all_settings:product:customfield_values:customfields:alsobought" /> <mvt:if expr="pcount GT 0"> <h2>Customers who bought &mvt:product:name; also bought these products</h2> <div> <mvt:foreach iterator="quicklist" array="quicklists"> <article> <mvt:item name="toolkit" param="customc|temp_image|l.all_settings:quicklist:code|imageset" /> <mvt:item name="toolkit" param="customc|temp_prid|l.all_settings:quicklist:code|prid" />
Code:
<a href="/&mvta:quicklist:code;.html"><img src="//justhealthshops.scene7.com/is/image/JustHealthShops/&mvte:global:temp_image;?&wid=110&hei=110" border="0" alt="&mvta:quicklist:name;" /></a>
Code:
<mvt:if expr="NOT ISNULL l.settings:item:quicklist:imagetypes:basket"> <img src="&mvt:quicklist:item:imagetypes:basket;" border="0" width="50" height="50" alt="&mvta:quicklist:name;">
Code:
<mvt:elseif expr="NOT ISNULL l.settings:quicklist:thumbnail"> <img src="&mvt:quicklist:thumbnail;" border="0" width="50" height="50" alt="&mvta:quicklist:name;">
Comment