Announcement

Collapse
No announcement yet.

checkout goes to wrong url

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

    checkout goes to wrong url

    i have just got my second site up and running, some of the templates have been copied from my old site
    the new site is www.hallgate-timber.co.uk/acatalog
    when you click the basket or checkout links on the right it takes you away to my other site.
    i have checked the template and made sure i have taken out what i can that refers to the other site but it is still doing it.
    is there a seperate place that the javascript for these links is stored?

    any help appreciated,
    TIA mark.

    any general comments on the site appreciated too
    Log Cabins and Garden Sheds
    Decking, Fencing, Gates and Spiral Stairs

    #2
    Mark,

    It's your checkout and view basket links that are pointing to the other site. They are probably in Act_Primary.html. You need to amend them to point to the correct url.

    David
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    Comment


      #3
      hello David,
      just had a look in act_primary all i can find is the following code

      <table width="150" border="0" cellpadding="0" cellspacing="0" >
      <tr>
      <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" background="tab_pal2.gif" class="actsmallheading"><b>&nbsp;&nbsp;CART DETAILS</b></td>
      </tr>
      <tr>
      <td class="thinred2"><br>
      <table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
      <td> <div align="left"><span class="actxxsmall">
      <script language="JavaScript">
      document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;<BR>");
      document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
      </script>
      </span> </div>
      </td>
      </tr>
      </table><br>
      </td>
      </tr>
      </table>




      it did have a bit that said bounce to ssl and the other website, but i deleted this when i first set up the site as the other primary layouts did not have this code in them.
      Log Cabins and Garden Sheds
      Decking, Fencing, Gates and Spiral Stairs

      Comment


        #4
        Mark,

        OK, once I have added something to the basket this link works:-

        http://www.hallgate-timber.co.uk/cgi...CTION=SHOWCART

        so the cart is working ok, there must be a setting somewhere still pointing to the other site. Have you checked your network setup?
        Cheers

        David
        Located in Edinburgh UK

        http://twitter.com/mcfinster

        Comment


          #5
          this was the bit that i cut out of the act_primary

          <a href="http://www.timber-cabins.co.uk/cgi-bin/ca000001.pl?ACTION=SHOWCART">View Basket</a>
          </br>
          <a href="http://www.timber-cabins.co.uk/cgi-bin/ca000001.pl?ACTION=SSLBOUNCE&URL=https%3a%2f%2fwww%2etimber%2dcabins%2eco%2euk%2fcgi%2dbin%2fos000001%2epl%3fACTION%3dStart">Checkout</a></b>


          kind of thinking that it probally wasn't such a good idea now
          Log Cabins and Garden Sheds
          Decking, Fencing, Gates and Spiral Stairs

          Comment


            #6
            hi David,
            just check the network setup and seems all ok
            Log Cabins and Garden Sheds
            Decking, Fencing, Gates and Spiral Stairs

            Comment


              #7
              i have tried adding that bit of code back in but changing it to hallgate-timber instead of timber-cabins,
              but it hasn't made any difference.
              any other ideas?
              Log Cabins and Garden Sheds
              Decking, Fencing, Gates and Spiral Stairs

              Comment


                #8
                Mark,

                I notice the checkout link at the top of the page goes to the right place. Can you post you Act_Primary template so we can have a look at it?
                Cheers

                David
                Located in Edinburgh UK

                http://twitter.com/mcfinster

                Comment


                  #9
                  Hello,

                  the layout i use for the whole site is a slightly modified version

                  this is it below in 2 messages as it didn't fit 1:

                  <!-- Primary HTML begin -->
                  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
                  <HTML>
                  <HEAD>
                  <TITLE>NETQUOTEVAR:PAGETITLE</TITLE>
                  <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
                  <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
                  <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
                  <meta name="robots" content="index,follow">
                  <link rel="shortcut icon" type="image/x-icon" href="Tree5.gif">
                  <meta name="Author" content="Mark Harris - Hallgate Timber">
                  <!--@act NETQUOTEVAR:HEADERMETA -->
                  <!--@act NETQUOTEVAR:LOADFUNCTION -->
                  <!--@act NETQUOTEVAR:SUBMITFUNCTION -->
                  <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
                  <LINK REL=STYLESHEET HREF="actinic.css">
                  <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
                  <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
                  <SCRIPT LANGUAGE="JavaScript" SRC="upsellsupport.js" TYPE="text/javascript"></SCRIPT>
                  <!--@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>


                  <!-- 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
                  -->

                  <SCRIPT LANGUAGE="JavaScript" SRC="dynamicimagesupport.js" TYPE="text/javascript"></SCRIPT>

                  </HEAD>
                  Log Cabins and Garden Sheds
                  Decking, Fencing, Gates and Spiral Stairs

                  Comment


                    #10
                    <BODY TEXT="NETQUOTEVAR:FGCOLOR" topmargin="0" marginwidth="5" marginheight="0" OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">

                    <tr>
                    <td align="center" width="100%" height="100">
                    <img src="Logot.jpg">
                    </td>
                    </tr>
                    </table>

                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td colspan="3" bgcolor="NETQUOTEVAR:PALCOLOR2CSS">
                    <img src="shim.gif" height="1">
                    </td>
                    </tr>
                    <tr>
                    <td width="10"><img src="shim.gif" height="30" width="10"></td>
                    <td align="center">NETQUOTEVAR:FOOTERGUIDE&nbsp;</td>
                    </tr>
                    <tr>
                    <td colspan="3" bgcolor="NETQUOTEVAR:PALCOLOR2CSS">
                    <img src="shim.gif" height="3">
                    </td>
                    </tr>
                    </table>
                    <br>
                    <table width="100%" border="0" cellspacing="0" cellpadding="5" height="100%">
                    <tr>

                    <td valign="top" width="200">
                    <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" background="tab_pal2.gif" class="actsmallheading"><b>&nbsp;&nbsp;STORE SECTIONS</b></td>
                    </tr>
                    <tr>
                    <td class="thinred2">
                    <table width="100%" cellspacing="2" cellpadding="2">
                    <tr>
                    <td>
                    <script language=Javascript1.2>
                    document.write(YahooSections(section_tree))
                    </script>
                    </td>
                    </tr>
                    </table> </td>
                    </tr>
                    </table>

                    </br>

                    <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;CUSTOMVAR:LEFTBARTITLE</b></td>
                    </tr>
                    <tr valign="top">
                    <td class="thinred2">
                    <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                    <tr>
                    <td valign="top"><br>CUSTOMVAR:LEFTBARTEXT<br><br></td>
                    </tr>
                    </table>
                    </td>
                    </tr>
                    </table>

                    </br>


                    <!-- credit card logo table start -->
                    <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" background="tab_pal2.gif" class="actsmallheading"><b>&nbsp;&nbsp;CARDS ACCEPTED </b></td>
                    </tr>
                    <tr align="center" valign="middle">
                    <td class="thinred2">
                    <table width="100%" cellspacing="2" cellpadding="2">
                    <tr align="center" valign="middle">
                    <td><img src="visa.gif" width="34" height="22"></td>
                    <td><img src="master.gif" width="34" height="22"></td>
                    <td><img src="elec.gif" width="32" height="22"></td>
                    </tr>
                    <tr align="center" valign="middle">
                    <td><img src="swi.gif" width="29" height="22"></td>
                    <td><img src="solo.gif" width="30" height="19"></td>
                    <td><img src="delta.gif" width="32" height="21"></td>
                    </tr>
                    <tr align="center" valign="middle">
                    <td colspan="3"><img src="amex.gif"></td>
                    </tr>
                    </table>
                    </td>
                    </tr>
                    </table>
                    <!-- credit card logo table end -->

                    </br>

                    <!--special-->
                    <br>
                    <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;CUSTOMVAR:OFFERTITLE</b></td>
                    </tr>
                    <tr valign="top">
                    <td class="thinred2">
                    <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                    <tr>
                    <td valign="top"><br><a href="Genius_Stairs.html"><img src="offer2.gif" alt="The Genius range of spiral staircases by Albini and FOntanot" border="0"></a><br></td>
                    </tr>
                    </table>
                    </td>
                    </tr>
                    </table>
                    <!--special end-->

                    </td>

                    <td valign="top">

                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                    <td width="2%" bgcolor="NETQUOTEVAR:PALCOLOR1CSS" valign="top"><img src="lefttab_pal1.gif"></td>
                    <td width="92%" bgcolor="NETQUOTEVAR:PALCOLOR1CSS" height="22" class="actsmallheading"><b>NETQUOTEVAR:PAGEHEADER</b></td>
                    <td width="6%" bgcolor="NETQUOTEVAR:PALCOLOR1CSS" align="right" valign="top"><img src="righttab_pal1.gif"></td>
                    </tr>
                    <tr valign="top" align="left">
                    <td colspan="3" class="thinred">
                    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="5" ALIGN="CENTER">
                    <tr>
                    <td><img src="shim.gif" width="CUSTOMVAR:ACTSTDWIDTH" height="1"></td>
                    </tr>
                    <TR>
                    <TD ALIGN="LEFT" VALIGN="MIDDLE">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 --><Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
                    <!-- NETQUOTEVAR:HEADER -->
                    <div align="center"><span class="actxsmall">NETQUOTEVAR:HEADERTEXT</span></div>
                    NETQUOTEVAR:BULK
                    <div align="center"><span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span></div>
                    <!-- NETQUOTEVAR:FOOTER -->
                    NETQUOTEVAR:FORMEND<br>
                    </TD>
                    </TR>
                    </TABLE>
                    </td>
                    </tr>
                    </table>

                    </td>

                    <td valign="top" width="200" align="right">

                    <table width="150" border="0" cellpadding="0" cellspacing="0" >
                    <tr>
                    <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" background="tab_pal2.gif" class="actsmallheading"><b>&nbsp;&nbsp;BASKET DETAILS</b></td>
                    </tr>
                    <tr>
                    <td class="thinred2"><br>
                    <table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                    <td> <div align="left"><span class="actxxsmall">
                    <script language="JavaScript">

                    sorry gonna be 3 messages
                    Log Cabins and Garden Sheds
                    Decking, Fencing, Gates and Spiral Stairs

                    Comment


                      #11
                      last bit

                      document.write("<b>Items:&nbsp;&nbsp;&nbsp;&nbsp;" + getCartItem(3)+"&nbsp;<BR></b>");
                      document.write("<b>Total:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + getCartItem(1)+"</b>");
                      </script>
                      </span> </div>
                      </br>

                      <a href="http://www.hallgate-timber.co.uk/cgi-bin/ca000001.pl?ACTION=SHOWCART">View Basket</a>
                      </br>
                      <a href="http://www.hallgate-timber.co.uk/cgi-bin/ca000001.pl?ACTION=SSLBOUNCE&URL=https:www.hallgate-timber.co.uk%2fcgi%2dbin%2fos000001%2epl%3fACTION%3dStart">Checkout</a></b>


                      </td>
                      </tr>
                      </table><br>
                      </td>
                      </tr>
                      </table>

                      </br>

                      <table width="150" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                      <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;CUSTOMVAR:RIGHTBARTITLE</b></td>
                      </tr>
                      <tr valign="top">
                      <td class="thinred2">
                      <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                      <tr>
                      <td valign="top"><br>CUSTOMVAR:RIGHTBARTEXT<br><br></td>
                      </tr>
                      </table>
                      </td>
                      </tr>
                      </table>
                      <br>
                      <table width="150" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                      <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;CUSTOMVAR:RIGHTBARTITLE2</b></td>
                      </tr>
                      <tr valign="top">
                      <td class="thinred2">
                      <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                      <tr>
                      <td valign="top"><br>CUSTOMVAR:RIGHTBARTEXT2<img src="ssl.gif"></br><!-- GeoTrust QuickSSL [tm] Smart Icon tag. Do not edit. -->
                      <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
                      SRC="//smarticon.geotrust.com/si.js"></SCRIPT>
                      <!-- end GeoTrust Smart Icon tag --><br></td>
                      </tr>
                      </table>
                      </td>
                      </tr>
                      </table>
                      <br>
                      <!--<table width="150" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                      <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;CUSTOMVAR:SEARCHBARTITLE</b></td>
                      </tr>
                      <tr valign="top">
                      <td class="thinred2">
                      <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                      <tr>
                      <td valign="top"><br>CUSTOMVAR:SEARCHBARTEXT<br><br></td>
                      </tr>
                      </table>
                      </td>
                      </tr>
                      </table>--->
                      <br>
                      <table width="150" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                      <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;CUSTOMVAR:OFFERTITLE</b></td>
                      </tr>
                      <tr valign="top">
                      <td class="thinred2">
                      <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                      <tr>
                      <td valign="top"><br><a href="Karina_Space_Saver.html"><img src="offer1.gif" border="0"></a><br></td>
                      </tr>
                      </table>
                      </td>
                      </tr>
                      </table>

                      NETQUOTEDEL:CAPTURECOUPON
                      <!-- coupon entry begins -->
                      <p>&nbsp;</p>

                      <table width="150" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                      <td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;NETQUOTEVAR:COUPONTITLE</b></td>
                      </tr>
                      <tr valign="top">
                      <td class="thinred2">
                      <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                      <tr>
                      <td valign="top"><br>
                      <table width="100%" border="0" cellspacing="0" cellpadding="2">
                      <form method="NETQUOTEVAR:CGIMETHOD" action="NETQUOTEVAR:CGIURL">
                      <tr>
                      <td valign="top" colspan="2">NETQUOTEVAR:COUPONMESSAGE </td>
                      </tr>
                      <tr>
                      <td valign="top"><input type="TEXT" name="COUPONCODE" size="10" maxlength="255" value="NETQUOTEVAR:COUPONCAPTION" onFocus="this.value='';this.style.background='#FFFFFF'"></td>
                      <td><input type="SUBMIT" name="ACTION" value="NETQUOTEVAR:COUPONACTION"></td>
                      </tr>
                      </form>
                      </table>
                      </td>
                      </tr>
                      </table>
                      </td>
                      </tr>
                      </table>
                      <!-- coupon entry ends -->
                      NETQUOTEDEL:CAPTURECOUPON

                      </td>
                      </tr>
                      </table>
                      </BODY>
                      </HTML>
                      <!-- Primary HTML end -->
                      Log Cabins and Garden Sheds
                      Decking, Fencing, Gates and Spiral Stairs

                      Comment


                        #12
                        Mark,

                        After a (very) quick look that looks fine. Are you sure you uploaded it after you added those bits back in? If you did, maybe try a full refresh of the site. Your code certainly looks fine to me!
                        Cheers

                        David
                        Located in Edinburgh UK

                        http://twitter.com/mcfinster

                        Comment


                          #13
                          A hinf for future posts

                          To attach template, open in Notepad and save as a .txt file. Text files can be attached using the Go Advanced
                          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


                            #14
                            right just checked on the server and i cannot find any of the primary templates anywhere in the acatalog folder so i am not sure. will test network settings again.

                            ps thanks for looking at this code, i really do apreciate the help.
                            Log Cabins and Garden Sheds
                            Decking, Fencing, Gates and Spiral Stairs

                            Comment


                              #15
                              A hint for future posts

                              To attach a template file, open the html file in Notepad and save as a .txt file. Text files can be attached using the Go Advanced posting option.
                              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

                              Working...
                              X