Announcement

Collapse
No announcement yet.

Need help calling product image in Category page

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

    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.

    #2
    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
    Jamie Donaldson
    JSDVS Web Design / Development
    Web Design | Web Development | E-commerce Design & Integration

    Comment


      #3
      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 :)

      Comment


        #4
        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
        Jamie Donaldson
        JSDVS Web Design / Development
        Web Design | Web Development | E-commerce Design & Integration

        Comment

        Working...
        X