Announcement

Collapse
No announcement yet.

Need help calling product image in Category page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jsdva
    replied
    Re: Need help calling product image in Category page

    Here is the MM4:

    Code:
    <mvt:if expr="NOT ISNULL l.settings:product:thumbnail">
    <a href="&mvt:global:sessionurl;Screen=PROD&Store_Code=&mvta:store:code;&Product_Code=&mvta:product:code;&Category_Code=&mvta:category:code;"><img src="&mvte:product:thumbnail;" border=0></a>
    <mvt:else>
    &nbsp;
    </mvt:if>
    Sorry.

    Jamie

    Leave a comment:


  • dtebbe
    replied
    Re: Need help calling product image in Category page

    Originally posted by jsdva View Post
    Try the following. Unless your path is not correct, it will work.

    Code:
    <mvt:if expr="NOT ISNULL           l.settings:product:thumbnail"><a           href="&mvte:product:link;"><img           src="&mvte:product:thumbnail;"           alt="&mvte:product:name;" />

    Hope this helps!

    Jamie
    This looks like MM5 code, right? I need MM4 code :)

    Leave a comment:


  • jsdva
    replied
    Re: Need help calling product image in Category page

    Try the following. Unless your path is not correct, it will work.

    Code:
    <mvt:if expr="NOT ISNULL           l.settings:product:thumbnail"><a           href="&mvte:product:link;"><img           src="&mvte:product:thumbnail;"           alt="&mvte:product:name;" />

    Hope this helps!

    Jamie

    Leave a comment:


  • dtebbe
    started a topic Need help calling product image in Category page

    Need help calling product image in Category page

    Can anyone give me the code for calling a product image url in a category page? Ideally the image url for the 1st product listed on the category page.

    TIA!
    DT
    Last edited by dtebbe; 11-08-12, 02:39 PM.
Working...
X