# Paypal Button Item Quantity problem

**URL:** <https://forum.kirupa.com/t/paypal-button-item-quantity-problem/266262>\
**Category:** flash\
**Created:** [July 17, 2008, 8:27pm UTC](https://forum.kirupa.com/t/paypal-button-item-quantity-problem/266262 "2008-07-17T20:27:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wideyed](https://avatars.discourse-cdn.com/v4/letter/w/838e76/32.png) [@wideyed](https://forum.kirupa.com/u/wideyed)\
**Post date:** [July 17, 2008, 8:27pm UTC](https://forum.kirupa.com/t/paypal-button-item-quantity-problem/266262/1 "2008-07-17T20:27:59Z")

</div>

i want to make this button code have an order of ten of my items at once (bulk order)  
the "add script has the numer of items, but when i enter say, 10, paypal only adds 1 item still…  
any suggestions on how to change the number of items to more than one added to the cart at once?

on (release) {  
var formData = new LoadVars();  
**formData[“add”] = “1”;**  
formData.cmd = “\_cart”;  
formData.business = "email@email.com";  
formData.item\_name = “Product Name”;  
formData.amount = “13.00”;  
formData.page\_style = “Paypal Page Style”;  
formData.shipping = “5.00”;  
formData[“return”] = “[http://www.website.com](http://www.website.com)”;  
formData.currency\_code = “USD”;  
formData.lc = “US”  
formData.bn = “PP-ShopCartBF”  
formData.shopping\_url = “[http://www.website.com/shopping.html](http://www.website.com/shopping.html)”;  
formData.send(“[https://www.paypal.com/cgi-bin/webscr](https://www.paypal.com/cgi-bin/webscr)”, “\_self”, “GET”);  
}
