Announcement

Collapse
No announcement yet.

2nd image on product pages

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

    2nd image on product pages

    Hi all,
    I may be missing the obvious, but I'm struggling to get a 2nd image to show on my product pages.
    I want to display the manufatures logo where necessary, there's more than 1 logo and some products will display no logo at all.
    I tried doing it as a custom var, but that didn't work (can i call images as a custom property? if so, how?
    I've hard coded it into the product description, but to do that for the entire site would be a huge task. Is there a netquotevarroductlogo? if not, why not?

    any help much appreciated, thanks in advance, dave

    #2
    There are at least 2 ways:

    1) Put your extra image in the Thumbnail field (Product Details / General - right under the usual image) and use NETQUOTEVAR:PRODUCTTHUMBNAILIMAGE in your product template.

    2) Customvars will do the job. You need to set the custom property to the image name and also check the File Name option and leave Use File Contents unchecked. Also, if using Business, uncheck Searchable and check Use as CUSTOMVAR.

    Now in your Product Template put

    <img src="CUSTOMVAR:LOGO">

    and that should be that. If you only use this feature on some products you can set the LOGO customvar in Design / Options / Site Defaults to a blank or default image.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Within the product line templates you want to show this 2nd image within locate the entry called: NETQUOTEVAR:PRODUCTIMAGE and add to it so that it ends up like say:

      NETQUOTEVAR:PRODUCTIMAGE<br><br><img src="CUSTOMVAR:2NDIMAGE" border="0">

      Then go into Advanced | Custom Properties and add a new entry called: 2NDIMAGE

      Then go into Design | Options | Site Defaults and add the new property clicking on the + and assign it a value of an invisible 1 pixel image. (I have attached 1 for you to this post, so save it to your Site1 folder).

      Ensure that Use as CUSTOMVAR is checked (if you have that option), but also ensure that File Name is checked.

      What this spacer image does is prevent those products you add without a 2nd logo from showing a broken image.

      Then, within the custom properties of each product you want to assign the 2nd image, click the +, add the property of 2NDIMAGE and give it a value of the filename.gif (Use as CUSTOMVAR and File Name enabled/checked). You must ensure that the images for the 2nd Image is stored in the Site1 folder.

      That should do it for you
      Attached Files

      Comment

      Working...
      X