Announcement

Collapse
No announcement yet.

Basket and Total values on external actinic pages

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

    Basket and Total values on external actinic pages

    Hi I would like to show basket value and total number of basket products on non actinic external pages.

    These pages are located on the same hosting however at a level higher than the acatalog folder.

    This link shows an example of pages that are external from actinic http://www.gardenfurniturecentre.co....t-us/index.htm I want the basket to update and show if the user has products in their basket. This currently works on catalog pages but not on non catalog pages.

    I rang up actinic and was given this link:

    http://knowledge.actinic.com/acatalo...397.html#a1114

    Im finding it difficult to understand could anyone explain how i should implement this code on my non actinic pages?

    Here is my current code on non actinic pages:

    Code:
    <div class="basket"><table width="132" border="0" cellspacing="0" cellpadding="0"><tr><td width="132" height="53"><p class="basket-text"><a href="http://www.gardenfurniturecentre.co.uk/cgi-bin/ca000001.pl?ACTION=SHOWCART" class="basket-fix-link"><img src="../images/basket-icon.gif" alt="basket icon" width="13" height="16" align="top" border="0" /> <strong>My basket</strong></a></p>
    <div align="center">    <p class="basket-text-centered"> Total:<script language="javascript" type="text/javascript">
    <!--
    document.write(getCartItem(1));
    // -->
    </script> Items:<script language="javascript" type="text/javascript">
    <!--
    document.write(getCartItem(3));
    // -->
    </script></p></div></td></tr><tr><td height="23" valign="top"><div align="center"><a href="http://www.gardenfurniturecentre.co.uk/cgi-bin/os000001.pl?ACTION=Start" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('checkout','','../images/button2.gif',1)"><img src="../images/button1.gif" alt="Checkout" name="checkout" width="101" height="19" border="0" id="checkout" /></a></div></td></tr></table></div>
    </div>

    #2
    It looks like they gave you the wrong Knowledge base answer. The one you want is:

    Edit: I thought I saw the answer. Can't find it now.

    Anyway, all you have to do is use the cart summary as usual AND include the actinic javascript calls which are on your actinic pages. They probably look like this:

    <SCRIPT LANGUAGE="JavaScript" SRC="acatalog/actiniccore.js" TYPE="text/javascript"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="acatalog/actinicextras.js" TYPE="text/javascript"></SCRIPT>
    <Actinic:COOKIECHECK/>
    I'm not sure if the COOKIECHECK bit is needed. If it's not on your actinic web pages then just leave it off.


    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      Thanks!

      Its working great now

      Appriciate the help!

      Comment

      Working...
      X