Announcement

Collapse
No announcement yet.

Images in best sellers list

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

    Images in best sellers list

    I have found the following information regarding this, but I think I must be having a bad day! I'm not quite sure where I am supposed to do this? Can someone spell it out for a thicko like me?

    Originally posted by jont
    How to have thumbnail images in the new arrivals / new products / best seller side bars:

    If you wanted to use the 'Thumbnail' field for the best sellers/new products, then click on the product name of an item in the new products/best sellers list then replace

    <img src="<actinic:variable name="ProductImageFileName" />" width="75" />

    with

    <img src="<actinic:variable name="ProductThumbnailImageFileName" />" />


    to prevent an empty place holder from showing products without a thumnail image specified .....

    Design | Library | Conditions > right click over "site" create new condition

    Label as IsThumbnailAvailable and enter the text dscriptions

    Condition : = ProductThumbnailImageFileName == true

    Create a new condition around the <img> code as above

    use : IsThumbnailAvailable > 0
    ArtyMiss
    www.artymiss.co.uk
    Card Making & Craft Materials

    #2
    Directly in the code that produces the best sellers list. You should see the code provided within that layout. Your products of course need to have thumbnails defined also in order to show.

    Comment


      #3
      Look in the Layout for
      Code:
            <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22">
      	      <img src="<actinic:variable name="ProductImageFileName" />" width="75" alt="<actinic:variable name="ProductName" />" />
            </actinic:block>
      Replace with
      Code:
            <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductThumbnailImageFileName%22%20%2f%3e%20%21%3d%20%22%22">
      	      <img src="<actinic:variable name="ProductThumbnailImageFileName" />" width="75" alt="<actinic:variable name="ProductName" />" />
            </actinic:block>
      That's it.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment

      Working...
      X