Mini/Small Shopping Cart

Problems installing or using the NOP Design Free Shopping Cart that do not fit into one of the above categories.

Moderators: Koibito, Stefko, Randy

Postby Koibito » Mon Oct 23, 2006 12:29 pm

Tom4us wrote:I hope 1 day nopcart will be in the same level with OsCommerce. I have not try my hand on it because my know how in php and mysql is very much limited to HTML and a little on Javascript.


Don't be too modest. You did a great job modifying the code, so that we could use the cart for PayPal. When I wanted to customize the cart for our store, I started with your version.
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA

Nopcart vs. OSC

Postby pixclinic » Mon Dec 18, 2006 11:04 pm

I forgot to mention: I had absolutely NO php knowledge when I started to look at OsCommerce. Just bite the bullet, it's worth it!

Bringing nopcart to the same level as Oscom sounds like reinventing the wheel... and the nopcart community, even if very active an d helpful, is still far from having the extend of the OSCom: thousands and thousands of members, have been activeley building this system for years now.
PIXCLINIC
< Web Design >
< eCommerce Photo Studio >
pixclinic
Guru
 
Posts: 88
Joined: Sun Mar 13, 2005 12:05 am
Location: Seattle

Re: Show q of products

Postby nescaf3 » Fri Feb 05, 2010 11:16 am

can someone help me intergrated this code to my .js file?

Code: Select all
<img src="cart2.gif" height="16" width="19" border="0" />
<script language="javascript" type="text/javascript">
if ( Cart_is_empty()) {
document.write('Your cart is empty.');
} else {
document.write('You Have<br /><font color="#990000">');
Print_total_products(true);
document.write('<\/font><br />In your cart<br /><br />');
document.write('At a cost of<br /><font color="#990000"> ');
Print_total(true);
document.write('<\/font><br /><br /><a href="managecart.html"><img src="viewcart.gif" height="19" width="79" border="0" /><\/a>');
}
</script>


Code: Select all
var LZ_LEFTSIDE = '<table width="230" height="13" border="0" align="center" cellpadding="0" cellspacing="0">'
  +'<tr>'
    +'<td width="13"><img alt="" src="images/tb01.png" /></td>'
   +'<td width="204"><img height="13" alt="" width="204" src="images/1px01.gif" /></td>'
   +'<td width="13"><img alt="" src="images/tb02.png" /></td>'
  +'</tr>'
 +'</table>'
+'<table width="230" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#212522">'
  +'<tr>'
  +'<td valign="top" align="left" width="13"><img height="1" alt="" width="13" src="images/1px01.gif" /></td>'
  +'<td valign="top" align="left" width="230"><table width="204" border="0" cellpadding="0" cellspacing="0">'
  +'<tr>'
    +'<td>'
   
        +'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="201" height="27">'
  +'<param name="movie" value="images/mov/news.swf">'
  +'<param name="quality" value="high">'
  +'<param name="LOOP" value="false">'
  +'<param name="MENU" value="false">'
  +'<param name="wmode" value="transparent">'
  +'<embed src="images/mov/news.swf" width="201" height="27" loop="false" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>'
+'</object>'       
   
    +'</td>'
  +'</tr>'
+'</table>'
+'<table width="100%" height="10" border="0" cellpadding="0" cellspacing="0">'
  +'<tr>'
   +'<td></td>'
  +'</tr>'
+'</table>'
+'<table width="204" border="0" cellpadding="0" cellspacing="0">'
        +'<tr>'
        +'<td></td>'
  +'</tr>'
   +'</table>'
        +'</tr>'
    +'</table>'
+'<table width="230" height="13" border="0" align="center" cellpadding="0" cellspacing="0">'
  +'<tr>'
  +'<td width="13"><img alt="" src="images/tb03.png" /></td>'
  +'<td width="204"><img height="13" alt="" width="204" src="images/1px01.gif" /></td>'
  +'<td width="13"><img alt="" src="images/tb04.png" /></td>'
  +'</tr>'
+'</table>';
document.write(LZ_LEFTSIDE);


this is my .js file, i want to implant the code at <td></td> can someone help me out? thanks alot ^^
nescaf3
WebMaster
 
Posts: 18
Joined: Tue Feb 02, 2010 9:38 am

Re: Mini/Small Shopping Cart

Postby nescaf3 » Mon Feb 08, 2010 3:39 am

bump! anyone can help me?
nescaf3
WebMaster
 
Posts: 18
Joined: Tue Feb 02, 2010 9:38 am

Cleaning the mincart

Postby BartHenry » Tue May 11, 2010 12:42 am

I would like to add an "empty cart" button or text link to the mini cart on my product pages, any suggestions. I have read all the posts on cleaning after check out, and they don't do what I need.
BartHenry
WebMaster
 
Posts: 1
Joined: Tue May 11, 2010 12:20 am

Previous

Return to Help: Cart / General

Who is online

Users browsing this forum: Exabot [Bot], wuhuilin11 and 5 guests