Announcement

Collapse
No announcement yet.

shopping basket to show on home page

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

    shopping basket to show on home page

    not quite a simple case of copying relevant js over to brochure primary template? do I nned to do something else.. e.g. re cookie handling etc?

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

    #2
    From that snippet of code? Close the script tag </script>.

    Then just paste that code into the appropriate table cell.

    Added - You may want to check that you do have references to the script files actinic.js and actinicextras.js in the head section of your template - added
    Last edited by wjcampbe; 24-Oct-2005, 05:51 PM. Reason: correcting
    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
      oops.. missed the close script tag when posting, my bad... have edited the oringal post for posterity and others' info in future.

      ....thanks for the info re which files to reference.. will put them in now to test.
      _________________

      Problem solved :

      Ok.,.. IN the brocuhure_primary.... I needed to add

      Code:
      <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
      in the <head></head> section.


      The reference to

      Code:
      <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
      was already in place.

      Thanks for heads up

      Comment

      Working...
      X