Announcement

Collapse
No announcement yet.

1 product per page question

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

    1 product per page question

    As I didn't want to hijack Nick's thread I thought I would start a new one.

    I am redesigning my product pages so I'll have one product per page with a listing page listing all products in the group.

    An example being:
    http://www.thehoneyfarm.com.au/acata...eylipbalm.html

    here all the links from the text field go to the correct page. However the image link and the "More Details" link are not working.

    Any ideas what I am doing wrong....again

    #2
    Perhaps previous changes to your template has stopped this from working.
    This sounds exactly the same issueNick had (at least towards the end). Have a look at post #34:
    http://community.actinic.com/showthr...t=17511&page=2

    Comment


      #3
      Was about to say exactly the same thing - using the clean template posted by Duncan on post#29 really sorted my problems out.

      By the way - feel free to 'hijack' original thread - the way I see it, its better for everyone if related stuff like this is all in the same place.

      Nick
      Trying to squeeze my moneys worth out of V7 - but not for much longer!

      Comment


        #4
        Thanks gentlemen,

        I have done as suggested Duncan and taken a layout I know that I haven't played around with.

        See the link in my previous post.

        I am still getting the same problem: ie. the text link in "Product Description" works correctly but the image link does not.

        I have replaced the NETQUOTEVAR:PRODUCTIMAGE with

        <A HREF =http://www.thehoneyfarm.com.au/cgi-bin/ss000001.pl?PRODREF=NETQUOTEVAR:PRODUCTREFERENCE&NOLOGIN=1 TARGET="_self">NETQUOTEVAR:PRODUCTIMAGE
        </A>

        any ideas?

        Comment


          #5
          My modified template is slightly different:

          <A HREF =http://www.fancylines.co.uk/cgi-bin/ss000001.pl?PRODREF=NETQUOTEVAR:PRODUCTREFERENCE&NOLOGIN=1 TARGET="_self">
          NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTIMAGE
          </A>

          Comment


            #6
            I have taken the clean layout code you have provided in Nick's thread and changed the NQV:PRODUCTIMAGE to the AHREF you have above... still no joy

            Having said so in this thread
            http://community.actinic.com/showthread.php?t=17511#8
            you state to change NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTIMAGE to the above AHREF

            I can not find NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTIMAGE - only NETQUOTEVAR:PRODUCTIMAGE

            Comment


              #7
              I can only assume you are perhaps using a different theme or that your template has been modified.
              This is my modified template if it helps:
              Code:
              <!-- ProductLine HTML begin -->
              <!-- Insert HTML for the top of the individual product -->
              <!-- NETQUOTEVAR:INCLUDE Act_ProductSeparator.html -->
              
              NETQUOTEVAR:ENDSEPARATOR NETQUOTEVAR:PRODUCTFORMBEGIN
              <script language=JavaScript>
              <!-- (V11)
              if ( currentcol++ == 0 ) document.write('<tr><td colspan=3><table border=0><tr>');
              document.write('<td width="' + colwidth + '%" valign=top class="tblBorder" bgcolor="#FFDFDF">');
              // -->
              </script>
              <noscript>
              <tr>
                <td width="100%">
              </noscript>
              <!-- START each product lives in this table - alter below to rearrange items -->
              <table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr>
                  <td colspan=2><a name="NETQUOTEVAR:PRODUCTANCHOR"></a><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span> <span class="actxsmall">NETQUOTEVAR:PRODUCTREF </td>
                </tr>
                <tr>
                  <td valign="TOP" align="CENTER"> NETQUOTEVAR:TEMPLATEBEGINXML 
              
              <A HREF =http://www.fancylines.co.uk/cgi-bin/ss000001.pl?PRODREF=NETQUOTEVAR:PRODUCTREFERENCE&NOLOGIN=1 TARGET="_self">
              NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTIMAGE 
              </A>
              
              </td>
                  <td valign="TOP">NETQUOTEVAR:PRODUCTDESCRIPTION <br>
                    <span class="actxsmall">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK NETQUOTEVAR:PRICEEXPLANATION </span>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <td colspan="2"><b>NETQUOTEVAR:PRODUCTPRICE</b><br><br></td>
                </tr>
              <tr>
              <td>NETQUOTEVAR:VARIANTLABEL1</td>
              <td>NETQUOTEVAR:VARIANTSELECTOR1</td>
              </tr>
              <tr>
              <td>NETQUOTEVAR:VARIANTLABEL2</td>
              <td>NETQUOTEVAR:VARIANTSELECTOR2</td>
              </tr>
              </table>
              <span class="actxsmall">
                    <Actinic:ACTIONS>NETQUOTEVAR:VARIANTADDTOCARTBUTTON</Actinic:ACTIONS> </span>
                  </td>
                </tr>
                <tr>
                  <td colspan=2><span class="actxsmall">NETQUOTEVAR:OTHERINFOPROMPT </span> <span class="actxsmall">NETQUOTEVAR:DATEPROMPT </span> </td>
                </tr>
                <tr>
                  <td align="LEFT" colspan="2"> NETQUOTEVAR:TEMPLATEENDXML </td>
                </tr>
              </table>
              <!-- END each product lives in this table - alter above to rearrange items -->
              </td>
              NETQUOTEVAR:PRODUCTFORMEND
              <script language=JavaScript>
              <!--
              if ( currentcol >= CUSTOMVAR:NUMCOLS )
                {
                document.write('</tr></table></td></tr>');
                currentcol = 0;
                }
              // -->
              </script>
              <noscript>
              </tr>
              </noscript>
              NETQUOTEVAR:NEXT
              <!-- Insert HTML for the bottom of the individual product -->
              <!-- ProductLine HTML end -->

              Comment


                #8
                Thanks Duncan,

                Playing around a bit more it seams that my Product Reference Numbers are not being recognised.

                But for some reason they are not working in the links.

                In my lip balm page the first "Vanilla Lip Balm" has a text link that was made in the Advanced link menu and being pointed to a section - this works. In the second Vanilla Lip Balm the text link points to a URL http://www.thehoneyfarm.com.au/cgi-b...=154&NOLOGIN=1 TARGET="_self" but this doesn't seem to work.

                Comment


                  #9
                  All my duplicates have Advanced links to child sections containing the single product - I've never used the link to URL feature.

                  Comment


                    #10
                    Still no progress... but some interesting observations -

                    the propolis lip balm image link brings one to the grandparent, the text link to the parent. (I can understand this as the image link is bringing one back to the original product - the interesting point being that the image link works here)

                    the vanilla lip balm (and others) image link returns a "specified product reference not found error" whilst the text link brings one to the parent page - ie the image link does not work here.

                    The "small image lisiting links" all have the same layout templates and all the parents have the same layout templates... but they behave differently... why??? <bangs head hard against computer monitor>

                    Comment


                      #11
                      I understand what you are saying in post #9 Duncan. When I use the linking to product or section then I have no problems with the text link. However if I change this to the URL method by using http://www.thehoneyfarm.com.au/cgi-b...ENCE&NOLOGIN=1 TARGET="_self" I get the same error message as on the images.

                      Comment


                        #12
                        Wooohooo I Solved It!!!!!!!!

                        I finally found the problem:

                        Here was my original code:
                        <A HREF =http://www.thehoneyfarm.com.au/cgi-bin/ss000001.pl?PRODREF=NETQUOTEVAR:PRODUCTREFERENCE&NOLOGIN=1 TARGET="_self">
                        NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTIMAGE
                        </A>

                        Here is the correct code

                        <A HREF =http://www.thehoneyfarm.com.au/cgi-bin/ss900001.pl?PRODREF=NETQUOTEVAR:PRODUCTREFERENCE&NOLOGIN=1 TARGET="_self">
                        NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTIMAGE
                        </A>

                        Spot the difference? It took me 24 hours to find it... I'll give you a clue a 0 should be replaced with a 9

                        Comment


                          #13
                          Such a little thing can make such a big difference hey! Glad you found the problem.

                          Comment


                            #14
                            and then only had to change the 9 back to a 0 when I changed over from test mode back into production mode

                            Comment

                            Working...
                            X