Announcement

Collapse
No announcement yet.

Items: 0

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

    Items: 0

    I would like to change the shopping cart summary layout.

    At present it reads
    Items: 0
    Total: 0

    I would like it to read:
    There are no items in your basket

    and have the no replaced with 1,2,3 etc when items are added.

    How do I do this?

    #2
    In Act_Primary.html replace
    Code:
                  				<script language="JavaScript">
    					<!--
    					document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;<BR>");
    					document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
    					// -->
    					</script>
    with
    Code:
                  				<script language="JavaScript">
    					<!--
    					if ( getCartItem(3) > 0 )
    						{ 
    						document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;<BR>");
    						document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
    						}
    					else
    						{
    						document.write("There are no items in your basket");
    						}
    					// -->
    					</script>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman

      Comment

      Working...
      X