Announcement

Collapse
No announcement yet.

Items and Value on non Actinic pages

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

    Items and Value on non Actinic pages

    Does anyone know if it's possible to include the cart summary values on non-actinic generated pages? (i.e. the Items=1 and Value=£ summary)

    Is there a piece of code which can pull this Cookie information from the users cache?

    Cheers

    Jos
    Thanks

    Jos Medinger

    Tel : 01978 843 962
    www.internetology.co.uk
    Actinic / E-Commerce Hosting, Design & SEO
    ______________________________________

    #2
    I would have though that the JavaScript that performs this function on the Actinic pages should work on non-Actinic pages.

    You will have to make sure you include the .js file that includes the functions that are called by this script (actiniccore.js from memory).

    Obviously this will only work pages on the same domain that set the cookie value.

    Hope this helps.
    Martin Smith
    <a href="http://www.cnx-solutions.com">Web Design Cornwall</a>

    Comment


      #3
      You should be able to put lines like this:

      <SCRIPT LANGUAGE="JavaScript" SRC="http://your.URL/acatalog/actiniccore.js" TYPE="text/javascript"></SCRIPT>
      <SCRIPT LANGUAGE="JavaScript" SRC="http://your.URL/acatalog/actinicextras.js" TYPE="text/javascript"></SCRIPT>

      into the headers of any page on the Internet and then put this code:

      <script language="JavaScript">
      document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;<BR>");
      document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
      </script>

      into the main body of the page where you want it to appear.

      Comment

      Working...
      X