Announcement

Collapse
No announcement yet.

Product Images in Cart - What am I doing wrong?

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

    #16
    Thanks Rich for the suggestions.

    I have tried the
    Code:
    <div style="clear:both"></div>
    code in various places but nothing helps.

    The code I am working with is in the "Product Cart Details" layout and appears far more complicated to understand than the layouts I have modified before, with lots of red code like
    Code:
    <Actinic:XMLTEMPLATE NAME="ProductLine">
    and
    Code:
    <Actinic:REMOVE TAG="DuplicateLinks">
    The "ProductNameOnLine" variable seems to be responsible for both the product name and the following lines of component names.


    Has anybody else successfully used the code in the AUG and Knowledgebase article and if so could you provide a link so I can look for any differences in code.

    I have followed the fairly simply instructions but it doesn't work, so either the code provided is incorrect or I have something different.
    Darren Guppy
    Golf Tee Warehouse
    Golf Tees and Golf Accessories.

    Comment


      #17
      Hi,

      I've had a quick look at this and found that it seems to work if you use this code:

      Code:
      <table width="100%" border="0">
      <tr>
      <Actinic:XMLTEMPLATE NAME="ProductLine">
      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
         <td width="90">
            <Actinic:Variable Name="ProdRef"/>
         </td>
      </actinic:block>
      <Actinic:REMOVE TAG="ImageLine"><div class="cartbox"><img src="<actinic:variable name="Thumbnail" />" height="40" width="40" /></div></Actinic:REMOVE>
      
      <Actinic:Variable Name="ProductNameOnline"/>
      <Actinic:REMOVE TAG="DuplicateLinks">
         <Actinic:Variable Name="DuplicateLinkCaption"/>
            <Actinic:XMLTEMPLATE NAME="DuplicateLinkLine">
      
               <Actinic:Variable Name="DuplicateLink"/>
            </Actinic:XMLTEMPLATE>
      </Actinic:REMOVE>
      
      <div style="float:right"><Actinic:Variable Name="Quantity"/></div><br>
      
      </Actinic:XMLTEMPLATE>
      
      <Actinic:XMLTEMPLATE NAME="InfoLine">
      
      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
            <td width="90">
               &nbsp;
            </td>
      </actinic:block>
      
               <br><Actinic:Variable Name="PromptLabel"/>
      
      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
            <td width="90">
               &nbsp;
            </td>
      </actinic:block>
      
               <br><Actinic:Variable Name="PromptValue"/>
      
      
      </Actinic:XMLTEMPLATE>
      
      <Actinic:XMLTEMPLATE NAME="DateLine">
      
      
      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
            <td width="90">
               &nbsp;
            </td>
      </actinic:block>
               <br><Actinic:Variable Name="PromptLabel"/>
      
      <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
            <td width="90">
               &nbsp;
            </td>
      </actinic:block>
               <br><Actinic:Variable Name="PromptValue"/>
      
      </Actinic:XMLTEMPLATE></tr></table>
      However, you will also need to apply "How can I hide the component quantities in the Cart Table?" as it does something odd to the component quantities. If you do that you might also want to apply How can I remove the component quantities from the customer's emailed receipt? too. Let me know if this does what you want and I'll update the kb article.
      Last edited by KB2; 23-Mar-2010, 10:00 AM. Reason: Updating kb links
      ********************
      Tracey
      SellerDeck

      Comment


        #18
        Hi Tracey,

        I have tried that code and also removed the component quantities from the cart but still get the layout attached in Internet Explorer.

        I have reset any related modified layouts to factorty settings.
        Is there a Perl script that generates the data in this area that I can check for any changes from the factorty default.
        Attached Files
        Darren Guppy
        Golf Tee Warehouse
        Golf Tees and Golf Accessories.

        Comment


          #19
          Sorry Darren, I made a slight mistake. I've amended the code above and it should now close up the choices.
          ********************
          Tracey
          SellerDeck

          Comment


            #20
            Thanks Tracey that's sorted the problem.
            Darren Guppy
            Golf Tee Warehouse
            Golf Tees and Golf Accessories.

            Comment


              #21
              The knowledgebase has been updated.
              ********************
              Tracey
              SellerDeck

              Comment


                #22
                Originally posted by TraceyG View Post
                However, you will also need to apply "How can I hide the component quantities in the Cart Table?" as it does something odd to the component quantities. If you do that you might also want to apply How can I remove the component quantities from the customer's emailed receipt? too. Let me know if this does what you want and I'll update the kb article.
                By bizarre coincidence, I'm trying to do exactly this right now.

                For some reason, despite following the instructions in "How can I hide the component quantities in the Cart Table?", I cannot seem to get the component quantities to disappear.

                Other than editing ActinicOrder.pm as the Knowledge Base article says is there anything else that needs to be done to get the component quantities to disappear?
                Last edited by KB2; 23-Mar-2010, 09:59 AM. Reason: Updating kb links

                Comment


                  #23
                  Did you ensure you only changed the first instance, as the code to edit appears twice?

                  Did you copy and paste the code or type it again?
                  Darren Guppy
                  Golf Tee Warehouse
                  Golf Tees and Golf Accessories.

                  Comment


                    #24
                    Hi Darren,

                    Yes, the relevant lines of code in ActinicOrder.pm now look like this:

                    Code:
                    			$ProdTable .= ProductLineHTML($pComponent->{'REFERENCE'},
                    													$pComponent->{'NAME'} . $pComponent->{'DDLINK'},
                    													$pComponent->{''},
                    													$sProductLineHTML);
                    Any ideas?

                    Comment


                      #25
                      I am unsure if a site refresh might force the new file to be uploaded.
                      Can you check if the version of ActinicOrder.pm online has changed?
                      Darren Guppy
                      Golf Tee Warehouse
                      Golf Tees and Golf Accessories.

                      Comment


                        #26
                        Originally posted by Golf Tee Warehouse View Post
                        I am unsure if a site refresh might force the new file to be uploaded.
                        Can you check if the version of ActinicOrder.pm online has changed?
                        I think the .pm file must get compiled during publication - or at least, I can't find it in the site root directory once the web site has been published.

                        Comment


                          #27
                          My only suggestion would be to force a full site refresh.
                          Darren Guppy
                          Golf Tee Warehouse
                          Golf Tees and Golf Accessories.

                          Comment


                            #28
                            Yep - tried that with no effect unfortunately.

                            Comment


                              #29
                              Hi,

                              Try restoring the original from 'c:\program files\Actinic v9\Original' and making the change again. It definitely works as I tried it while helping Darren with this thread.
                              ********************
                              Tracey
                              SellerDeck

                              Comment


                                #30
                                change the script number and upload

                                Comment

                                Working...
                                X