PDA

View Full Version : Cart summary not required


smg
31-Jan-2003, 02:05 PM
Hi

I have just upgraded a site from V5 to V6 with Developer and now each page on the site shows a summary of the shopping cart:
"Items Ordered .. Cart Value.."

In this site this is not required so how can I remove? I have tried commenting out the lines:

<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>

in Act_Primary.html, but this just removed the values and not the text.

I would be grateful for a quick fix if possible, many thanks
Sue

NormanRouxel
31-Jan-2003, 02:17 PM
Sue,

Regarding:-

<SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>

You'd better comment these back in or your navigation buttons won't work.

To solve your problem look in Act_Primary for:-



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



and delete it. That's the cart cookie display stuff. There also may be some additional formatting around this that you don't need either.

Norman

cdicken
31-Jan-2003, 03:01 PM
If it is not in Act_Primary.html, you will find the code in Act_Header.html.

smg
01-Feb-2003, 01:49 PM
Thanks guys, found it in the Act_Header.html

Cheers, Sue