wojodesign / simplecart-js

A simple javascript shopping cart that easily integrates with your current website.
simplecartjs.org
1.79k stars 489 forks source link

Not outputting/append when page loads #502

Open bonucci opened 9 years ago

bonucci commented 9 years ago

Hello, im trying to append the items inside a div, but when it loads the page it doesnt add it to the div

Code: simpleCart.each(function(item){ $('#test').append( item.get('quantity') +" "+ item.get('name').trim()+", ") });