Shopping Cart customisation

Issues to do with installing and configurating Norcat.
Post Reply
Greg Joy

Shopping Cart customisation

Post by Greg Joy »

Hello Norman,

I am trying to customise the appearance of the shopping cart, or to even replace with an image and have the same functions, but I can't work out if this is done on the Actinic end or the Norcat end. Any ideas?

Thanks,
- Greg
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Post by norman »

Do you mean the Add to Cart button?

If so, then this is already an image called "Add.gif" - you can replace this with one of your own if you like.

Make sure you keep identical copies in Site1 and PreviewHTML in order for both the Site update and Preview to work.
Norman
Greg Joy

Shopping cart

Post by Greg Joy »

Hello there, I meant how the shopping cart actually appears on the page - I'm having a little trouble in working out how to edit, or replace with an image.

Cheers,
- Greg
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Post by norman »

Sorry, but I don't understand what you mean by "Shopping Cart".

That phase could describe one of several things on an Actinic site.

Best point me to a particular page and tell me what's there and what you'd like there instead.
Norman
Greg Joy

Add to cart box

Post by Greg Joy »

Hello there, on my product pages (see http://s120997931.websitehome.co.uk/aca ... THING.html) there is a box which lists 'items' and 'value' - I consider this the browsing 'cart' as opposed to the actual shopping cart page. This is the element I'm trying to modify, but I can't work out where the code is generated. Any ideas?
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

Post by norman »

Got you now (too many things called Cart). That's a standard Actinic feature and generated in Act_Primary.html by code that varies somewhat depending on Theme and customisation. Here's the one from the Best Seller theme

Code: Select all

<tr> 
 <td height="25" background="cart_bg.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1"><strong>&nbsp;&nbsp;&nbsp; 
  <script language="JavaScript"> 
  <!-- 
   document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;"); 
   document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1)); 
  // --> 
  </script> 
  </strong></font> 
 </td> 
</tr>
and is probably somewhat different on your site. Just search Act_Primary.html for "getCartItem" and you'll locate it.
Norman
Greg Joy

Post by Greg Joy »

OK I found that bit, but can't actually work out if I can set a backgrounfd image to it. Does that mean the aforementioned section is uneditable apart from the themes/colours option?
Guest

Post by Guest »

This is a standard Actinic feature. It should be possible to set a background in the surrounding <table> or <td> cell. You can also ask on the Actinic Forum community.actinic.com for Actinic specific help.
Post Reply