Announcement

Collapse
No announcement yet.

Changing Best Seller Image to other

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

    Changing Best Seller Image to other

    Hi,

    Is there a way to change the Best Sellers image to something other than the product image itself? I would like to change it to the 'section image' instead as it is a simpler image in my site...I've tried change


    src="<actinic:variable name="ProductImageFileName" />"

    to

    src="<actinic:variable name="<actinic:variable Name="SectionImageFileName"/>"

    but get errors - can it be done?

    Thanks

    #2
    Solved

    On Page Page 65 of the advanced users guide - Using the 'Thumbnail' Image in the 'Mini' Item Layouts

    By default, the layout just uses the standard product image scaled down – but it is possible to use the image specified in the actual 'Thumbnail' product field instead.
    To do this, click on the 'Mini' layout that you want to edit.
    Locate the following code:

    Replace all three lines with the following:
    <actinic:block if="%28%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22%29%20AND%20%28%3cactinic%3avariable%20name%3d%22ProductThumbnailImageFileName%22%20%2f%3e%20%3d%3d%20%22%22%29" >
    <img src="<actinic:variable name="ProductImageFileName" />" width="75" alt="<actinic:variable name="ProductName" />" />
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductThumbnailImageFileName%22%20%2f%3e%20%21%3d%20%22%22" >
    <img src="<actinic:variable name="ProductThumbnailImageFileName" />" alt="<actinic:variable name="ProductName" />" />
    </actinic:block>
    Apply the changes to the layout.
    The layout will now use the 'Thumbnail' image, if available.

    Comment

    Working...
    X