Announcement

Collapse
No announcement yet.

catalogue has decided to duplicate items

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

    catalogue has decided to duplicate items

    My catalogue has decided to duplicate all products so it is displaying each one twice??
    For example in a if a section has three products in the catalogue is displating item1, item2 and item3 and then repeating these items below.

    please see www.mhnewmedia.co.uk/clive/acatalog/
    It is very weird, I have checked that the primary template is not asking for the product line twice, i have checked the products themselves and made sure it has not imported duplicates or anything like that, I have tried using different template versions and still it displays two of everything.

    Certainly is a new one on me!!! Any ideas???
    Cheers
    Mark
    www.mhnewmedia.co.uk
    Web Design and Development, Specialists in custom actinic design.

    #2
    It has to be a corrupted template file. The same repeat of all details in the same order happens on every page - even the Brilliant under 999 where you have 8 products - or is it 11?

    Check the template again, and if you still see no repeated code, upload the template here for someone else to check.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      I am presuming it is a problem with the Primary Template as the problem happens with top level pages too.

      Code:
      <!-- Primary HTML begin -->
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      <HTML>
      <HEAD>
         <TITLE>
         NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER
         </TITLE>
         <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
         <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
         <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
         <!--@act NETQUOTEVAR:HEADERMETA -->
         <!--@act NETQUOTEVAR:LOADFUNCTION -->
         <!--@act NETQUOTEVAR:SUBMITFUNCTION -->
         <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
      <LINK REL=STYLESHEET HREF="actinic.css">
      <script language="JavaScript">
      <!--
      
      
      function changeImages()
      {
      	if (document.images)
      	{
      		for (var i=0; i<changeImages.arguments.length; i+=2)
      		{
      			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
      		}
      	}
      }
      
      function openBrWindow(theURL,winName,features) { //v2.0
        window.open(theURL,winName,features);
      }
      
      -->
      </script>
      
      
      <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
      <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
      
      <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
      <Actinic:COOKIECHECK/>
      
      <!--
      The NETQUOTEVARs below can be uncommented for getting raw section lists:
      1. Top level section list
      2. Section list from current level and all children
      3. The whole section tree
      The rest covers the standalone structure members for each array - e.g. if
      you only need sName or sURL from an array.
      See the documentation for details.
      
      NETQUOTEVAR:TOPLEVELSECTIONS_RAW
      NETQUOTEVAR:CHILDSECTIONS_RAW
      NETQUOTEVAR:SECTIONTREE_RAW
      
      NETQUOTEVAR:SECTIONTREE_NAMES
      NETQUOTEVAR:SECTIONTREE_URLS
      NETQUOTEVAR:SECTIONTREE_IMAGES
      NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
      NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
      NETQUOTEVAR:SECTIONTREE_SECTIONIDS
      
      NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
      NETQUOTEVAR:TOPLEVELSECTIONS_URLS
      NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
      NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
      NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
      NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS
      
      NETQUOTEVAR:CHILDSECTIONS_NAMES
      NETQUOTEVAR:CHILDSECTIONS_URLS
      NETQUOTEVAR:CHILDSECTIONS_IMAGES
      NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
      NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
      NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS
      
      The section level can be accessed through:
      NETQUOTEVAR:SECTIONLEVEL
      -->
      <!--
      The NETQUOTEVARs below can be uncommented and moved to the appropriate
      
      location
      to save and load shopping lists
      <A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Save
      
      Shopping List</B></I></FONT></A>
      <A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Load
      
      Shopping List</B></I></FONT></A>
      --->
      
      </HEAD>
      
      <BODY NETQUOTEVAR:BGIMAGE OnLoad="NETQUOTEVAR:ONLOAD" TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="5" marginheight="5" BGCOLOR="#cccccc">
      
      <table width="760" height="198" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" id="Table_01">
        <tr>
          <td bgcolor="#000000" background="images/template1_01.gif"> <table width="370" border="0" align="center" cellpadding="2" cellspacing="0">
              <tr>
                <td width="197">&nbsp;</td>
                <td width="173"> 
                  <div align="center"> <span class="footer"> Basket:<br>
                    <script language="JavaScript">
      							document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;");
      							document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
      						</script>
                    </span> </div></td>
              </tr>
            </table></td>
          <td> <img src="images/template1_02.gif" width="272" height="77" alt=""></td>
          <td> <img src="images/template1_03.gif" width="108" height="77" alt=""></td>
        </tr>
        <tr>
          <td> <img src="images/template1_04.gif" width="380" height="60" alt=""></td>
          <td> <img src="images/template1_05.gif" width="272" height="60" alt=""></td>
          <td> <img src="images/template1_06.gif" width="108" height="60" alt=""></td>
        </tr>
        <tr>
          <td colspan="2">NETQUOTEVAR:FOOTERGUIDE</td>
          <td> <img src="images/template1_08.gif" width="108" height="27" alt=""></td>
        </tr>
        <tr>
          <td colspan="2"><p align="left"> NETQUOTEVAR:FORMBEGIN <a name="top">
              <input type=HIDDEN name=RANDOM value="NETQUOTEVAR:RANDOM">
              </a> NETQUOTEVAR:HIDDENFIELDS
              <!-- If customer accounts are in operation following two lines allow displaying -->
              <!-- User name and customer account name on every page -->
              <!-- NETQUOTEVAR:LOGINLINK -->
            </p>
            <Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/> </td>
          <td> <img src="images/template1_10.gif" width="108" height="34" alt=""></td>
        </tr>
        <tr>
          <td colspan="3" bgcolor="#FFFFFF">
      				<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" height=100% WIDTH="100%" ALIGN="CENTER">
              <TR>
                <TD VALIGN="top" bgcolor="#ffffff">
      <div align="right">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="60%"><a name="sectiontop"> NETQUOTEVAR:PARENTSECTIONSTOP </a></td>
                        <td width="40%"><div align="right">NETQUOTEVAR:SIMPLESEARCH</div></td>
                      </tr>
                    </table>
                  </div></TD>
              </TR>
              <TR>
                <TD VALIGN="top" ALIGN="LEFT" bgcolor="#ffffff">
                    <!-- NETQUOTEVAR:HEADER -->
                  <p><span class="actxsmall">NETQUOTEVAR:HEADERTEXT<br>
                    </span>NETQUOTEVAR:BULK <br>
                    <span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span>
                    <!-- NETQUOTEVAR:FOOTER -->
                    NETQUOTEVAR:FORMEND</p></TD>
              </TR>
            </TABLE>
          </td>
        </tr>
        <tr>
          <td colspan="3" bgcolor="#000000">
      
              <div id="center" class="footer">
                <div align="center">THE DIAMOND IMAGES ARE NOT OF THE ACTUAL STONES
                  - THEY ARE COLOUR AND CLARITY COMPARISON<br>
                  Poor monitor quality may dilute the value of the colour comparisons
                  <br>
                  247diamonds.com is a GemNet service<br>
                  GemNet Solutions Ltd: P.O Box 22 : Bourton-on-the-Water : The Cotswolds
                  : England : GL54 2ZA<br>
                  Tel +44 1451 821042 : Fax +44 1451 810594 email: info@247diamonds.com<br>
                </div>
              </div>
            </div></td>
        </tr>
      </table>
      
      </BODY>
      </HTML>
      <!-- Primary HTML end -->

      Comment


        #4
        I can't see anything obviously wrong. Try posting Act_ProductBody.html as this is a likely culprit too. You're using my Products in Columns patch (probably the one in the Advanced Guide) and you may have made an error in patching Act_ProductBody.html.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Cheers Norman

          Code:
          <!-- ProductBody HTML begin --><!-- ProductBody HTML begin -->
          <!-- Insert HTML for the top of the product body -->
          
          <script language=JavaScript>
          <!--
          var currentcol = 0;
          var colwidth = Math.floor(100 / CUSTOMVAR:NUMCOLS);
          // -->
          </script>
          <a name="sectiontop">
          <!-- NETQUOTEVAR:TOPLEVELSECTIONSTOP -->
          NETQUOTEVAR:SECTIONLISTTOP
          NETQUOTEVAR:TOPSECTIONSEPARATOR
          NETQUOTEVAR:CARTERRORLISTXML
          </a>
          NETQUOTEVAR:DISCOUNTINFOBULK
          NETQUOTEVAR:HIDDENINPUT
          
            <TABLE WIDTH="500" COLS="3" BORDER="0" CELLPADDING="10" CELLSPACING="0" ALIGN="CENTER">
          
          	NETQUOTEVAR:PRODUCTBULK
          
          <script language=JavaScript>
          <!--
          if ( currentcol != 0 )
           {
           while ( currentcol++ < CUSTOMVAR:NUMCOLS ) document.write('<td width="' + colwidth + '%"></td>');
           document.write('</tr></table></td></tr>');
           currentcol = 0;
           }
          // -->
          </script>
            </TABLE>
          </div>
          <DIV ALIGN="RIGHT"><a name="sectionbottom">
          NETQUOTEVAR:SINGLEADD
          </a></DIV>
          <a name="sectionbottom">NETQUOTEVAR:BOTTOMSECTIONSEPARATOR
          NETQUOTEVAR:SECTIONLISTBOTTOM
          <!-- NETQUOTEVAR:TOPLEVELSECTIONSBOTTOM -->
          </a>
          <!-- <DIV ALIGN="CENTER"><a name="sectionbottom">
          NETQUOTEVAR:PARENTSECTIONSBOTTOM
          </a></DIV> -->
          <!-- Insert HTML for the bottom of the product body -->
          <!-- ProductBody HTML end -->
          
          <!-- Insert HTML for the top of the product body -->
          <script language=JavaScript>
          <!--
          var currentcol = 0;
          var colwidth = Math.floor(100 / CUSTOMVAR:NUMCOLS);
          // -->
          </script>
          <div align="right"><a name="sectiontop">
          <!-- NETQUOTEVAR:TOPLEVELSECTIONSTOP -->
          NETQUOTEVAR:SECTIONLISTTOP
          NETQUOTEVAR:TOPSECTIONSEPARATOR
          NETQUOTEVAR:CARTERRORLISTXML
          </a>
          NETQUOTEVAR:HIDDENINPUT
          <BR>
          <TABLE WIDTH="500" COLS="3" BORDER="0" CELLPADDING="10" CELLSPACING="0"
          ALIGN="CENTER">
          NETQUOTEVAR:PRODUCTBULK
          <script language=JavaScript>
          <!--
          if ( currentcol != 0 )
          {
          while ( currentcol++ < CUSTOMVAR:NUMCOLS ) document.write('<td width="'
          + colwidth + '%"></td>');
          document.write('</tr></table></td></tr>');
          currentcol = 0;
          }
          // -->
          </script>
          </TABLE>
          </div>
          <DIV ALIGN="RIGHT"><a name="sectionbottom">
          NETQUOTEVAR:SINGLEADD
          test
          </a></DIV>
          <a name="sectionbottom">NETQUOTEVAR:BOTTOMSECTIONSEPARATOR
          NETQUOTEVAR:SECTIONLISTBOTTOM
          <!-- NETQUOTEVAR:TOPLEVELSECTIONSBOTTOM -->
          </a>
          <!-- <DIV ALIGN="CENTER"><a name="sectionbottom">
          NETQUOTEVAR:PARENTSECTIONSBOTTOM
          </a></DIV> -->
          <!-- Insert HTML for the bottom of the product body -->
          <!-- ProductBody HTML end -->

          Comment


            #6
            Same Problem

            I've suddenly got the same problem

            all was fine but i deleted some items and uploaded the site again and now i have duplicates

            items 1,2,3 then items 1,2,3

            any clues - i made no changes to the design - just deleted a number of items and purged them

            thanks
            regards
            jane
            Jane

            Comment

            Working...
            X