PDA

View Full Version : Adding image to Cart Details Right bar box?


tdw
04-Mar-2005, 09:39 AM
Hi,
I want to add a small cart image with a link to checkout in the right hand bar box that shows the cart details. Do I need to go into the html files to add this?

Also I may have a top banner design, where do I add that to replace the bar design in the Smart theme?

Thanks

jont
04-Mar-2005, 09:50 AM
You will need to edit the Act_Primary.html template - the code for displaying the cart will look something like:

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

You can then add a cart image to the same table - making sure not to break the code.

The top banner can be set up in DESIGN | OPTIONS |SHOP DEFAULTS - secify the new company logo file there

tdw
09-Mar-2005, 02:38 PM
Thanks got the cart to display properly after a while :)

jont
09-Mar-2005, 03:01 PM
Glad it worked ... eventually :)