wojodesign/simplecart-js — Issue #210: How use .blind?
Author: me-2-you
Created: 2012-02-17 07:14:19+00:00
State: open

Hello! Thanks for great script!

I use v3. Please tell me how use .blind?

i want show

alert

alert after add item into cart

Example from manual

```javascript
simpleCart.bind( 'afterAdd' , function( item ){
alert( item.name + " has been added to the cart!");
});
```

Tell me where paste this code in simplecart.js? line???

or use into html file?

```javascript

```

i try this code but alert say me - ..undefined has been added to the cart! ))

My shelfitem example

```javascript

Name book

Book Info

Preview book popup>
50

```

May be you can paste full example for use .blind

Please ;) Thanks!

P.S. Sorry for bad english..