Announcement

Collapse
No announcement yet.

Thumbnails in shopping cart

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

    Thumbnails in shopping cart

    Hi,

    I have checked out the thumbnails in shopping basket section of the AUG and have got it working ok, my problem is I have got a few hundred products which don't currently have the thumbnail image defined, is it possible to use the existin product image here ? I have tried productImagefilename but this doesn't work ?

    Thanks.
    Austin Harvey
    Girls Of Elegance Ltd
    http://www.girlsofelegance.co.uk

    #2
    If you have too large images you need to use an image editor to reduce their size small enough to show in the view cart section. The image file should then be inserted into the relevant thumbnail section within products.

    Comment


      #3
      Thanks for the reply, but it doesn't really answer the question...

      I don't want to add a thumbnail to all my existing products, if I can just use the product image file, I'll just scale the image by adding a width value to the <img>
      Austin Harvey
      Girls Of Elegance Ltd
      http://www.girlsofelegance.co.uk

      Comment


        #4
        Have you tried wrapping the code into a block if to test if the thumbnail exists?

        Not at an Actinic PC for the exact code but the plain english is:

        block (Thumbnail is not empty)
        show thumbnail image

        block (Thumbnail is empty)
        show default-image.gif

        Essentially if the product has a thumbnail image declared it will use that. Is the thumbnail image is missing it will insert a default-image.gif (of your choice)

        Hope that points you in the right direction


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          <img src="productImagefilename" width="100">

          put that there but make sure productimagefilename is the variable
          www.simonstaton.co.uk

          Comment


            #6
            Ok, thanks all again, but my problem is that productimagefile does not seem to work ?


            Here's the code ---

            Code:
            <Actinic:REMOVE TAG="ImageLine">  
            <IMG SRC="<actinic:variable name="ProductImageFilename" />"
            	  ALT="Shopping Cart Image"
            	  BORDER=1
            	  width="60"
            	  align="middle"
            	  >
            </Actinic:REMOVE>
            Austin Harvey
            Girls Of Elegance Ltd
            http://www.girlsofelegance.co.uk

            Comment


              #7
              are you putting it in the right place, if you are miss placeing the code then it wont pick up your products image,
              www.simonstaton.co.uk

              Comment


                #8
                Code:
                <Actinic:XMLTEMPLATE NAME="ProductLine">
                <actinic:variable name="GoogleAnalyticsMarkup" value="Google Analytics Item Details" />
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                   <tr>
                
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                   <td width="90">
                      <Actinic:Variable Name="ProdRef"/>
                   </td>
                </actinic:block>
                
                <td width="280" valign="middle">
                <Actinic:REMOVE TAG="ImageLine">
                <IMG SRC="<actinic:variable name="ProductImageFileName"/>"
                	  ALT="Thumbnail Image"
                	  BORDER=1
                	  width="60"
                	  align="middle"
                	  >
                </Actinic:REMOVE>
                
                &nbsp;&nbsp;<Actinic:Variable Name="ProductNameOnline"/>
                <Actinic:REMOVE TAG="DuplicateLinks">
                   <Actinic:Variable Name="DuplicateLinkCaption"/>
                      <Actinic:XMLTEMPLATE NAME="DuplicateLinkLine">
                         <br />
                         <Actinic:Variable Name="DuplicateLink"/>
                      </Actinic:XMLTEMPLATE>
                </Actinic:REMOVE>
                </td>
                
                <td width="60"  align="right">
                  <Actinic:Variable Name="Quantity"/>
                </td>
                </tr>
                
                </table>
                
                </Actinic:XMLTEMPLATE>
                
                <Actinic:XMLTEMPLATE NAME="InfoLine">
                
                <table border="0" width="100%" cellspacing="0" cellpadding="0" cols="2">
                   <tr>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                      <td width="90">
                         &nbsp;
                      </td>
                </actinic:block>
                      <td width="280">
                         <Actinic:Variable Name="PromptLabel"/>
                      </td>
                      <td width="60">
                         &nbsp;
                      </td>
                   </tr>
                   <tr>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                      <td width="90">
                         &nbsp;
                      </td>
                </actinic:block>
                      <td width="280">
                         <Actinic:Variable Name="PromptValue"/>
                      </td>
                      <td width="60">
                         &nbsp;
                      </td>
                   </tr> 
                </table>
                
                </Actinic:XMLTEMPLATE>
                
                <Actinic:XMLTEMPLATE NAME="DateLine">
                
                <table border="0" width="100%" cellspacing="0"cellpadding="0" cols="2">
                   <tr>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                      <td width="90">
                         &nbsp;
                      </td>
                </actinic:block>
                      <td width="280">
                         <Actinic:Variable Name="PromptLabel"/>
                      </td>
                      <td width="60">
                         &nbsp;
                      </td>
                   </tr>
                   <tr>
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                      <td width="90">
                         &nbsp;
                      </td>
                </actinic:block>
                      <td width="280">
                         <Actinic:Variable Name="PromptValue"/>
                      </td>
                      <td width="60">
                         &nbsp;
                      </td>
                   </tr> 
                </table>
                
                </Actinic:XMLTEMPLATE>
                Austin Harvey
                Girls Of Elegance Ltd
                http://www.girlsofelegance.co.uk

                Comment


                  #9
                  is that your checkouts layout? or your products layout?
                  www.simonstaton.co.uk

                  Comment


                    #10
                    Sorry I have just updated it .. its the cart product details layout
                    Austin Harvey
                    Girls Of Elegance Ltd
                    http://www.girlsofelegance.co.uk

                    Comment

                    Working...
                    X