Announcement

Collapse
No announcement yet.

shopping Cart Summary creates JS error???

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

    shopping Cart Summary creates JS error???

    Hi, 1st time poster 1st time user.

    I have been creating a site for a client of mine, whom had already purchased actinic, after dabbling with the trial (on a PC for the first time to - Mac head), decided to buy the designer version, first time in actinic site seems to going well, http://www.architecturalhardwarefittings.co.uk, it's not live yet, but all seems fine apart from, I am getting a JS error on the shopping cart summary, subsequently it does not show any products when the cart is populated, if i take out the '<actinic:variable name="ShoppingCartSummary" /> no errors, put it back in I get object expected error, I have removed all the other code piece by piece, until the only thing I have left is the variable, still JS error.

    here is the JS from actinic, untouched by me:

    <actinic:variable name="CookieCartItemsLabel" />
    <script language="javascript" type="text/javascript">
    <!--
    document.write(getCartItem(3));
    // -->
    </script>
    <br />
    <actinic:variable name="CookieCartValueLabel" />
    <script language="javascript" type="text/javascript">
    <!--
    document.write(getCartItem(1));
    // -->
    </script>

    Any help greatly appreciated, in advance thanks.

    #2
    Hello, please don't answer problem solved, In my creating custom page layout I had removed java functionality in the header.

    all better now thanks

    Comment


      #3
      In my creating custom page layout I had removed java functionality in the header.
      Hi Scampi

      I've got the same 'javascript' error... what did you do to fix it (ie, how did you fix the java functionality problem)?

      Thanks!
      LP

      Comment


        #4
        He will have put the Javascript references back into the head area that had been removed by mistake, as he mentioned. Can you see it on your site, if not then it needs to be added back in.

        Comment


          #5
          Oh - as simple as that?! Thanks :O)

          Comment

          Working...
          X