Announcement

Collapse
No announcement yet.

section_tree undefined on checkout page

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

    section_tree undefined on checkout page

    Hi, ive got this error that i havnt noticed until now. When I go to the first checkout page, where I enter in customer details etc, I have 2 errors:

    1. the store sections is not displayed - says there is an error on the page "section_tree is not defined"

    2. Just a little one, near the bottom of the page where it shows the shipping cost and the box for any shipping instructions the "£" symbol for shipping cost is replaced by a question mark "?"


    Not urgent as everything else is working ok, but if anyone does have any ideas or can point me in the right direction I would be very grateful.


    #2
    Look in Design / Options / Layouts / Primary Templates. Make sure the lines

    Code:
    <!--@act NETQUOTEVAR:SECTIONTREE_RAW -->
    
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function YahooSections(ar)
    {
    var strIDs = '';
    for (var i=1;i<=ar.length;i++)
      {
      if (ar[i].sURL != null)
        {
        strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
          {
          if (ar[i].pChild)
            {
            for (var j=1;j<=ar[i].pChild.length;j++)
              {
              if (ar[i].pChild[j].sURL != null)
                {
                strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
                }
              }
            }
          }
        strIDs += '<br>'
        }
      }
    return strIDs
    }
    //-->
    </SCRIPT>
    Are in these Templates.

    As for the "?" it would help to be able to see the page.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hi, thanks for your reply.

      yes those lines are in the primary templates. But for some reason they work fine on all pages, but "page_section" is undefined on the checkout page.

      Comment


        #4
        We'll need an URL to help further.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X