You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,23 +26,15 @@ Add To Cart buttons lets users add multiple items to their PayPal cart.
26
26
></script>
27
27
```
28
28
29
-
## Button parameters
30
-
You can pass additional data values to the button as well. The following are currently supported:
29
+
## Button variables
30
+
All of PayPal's [HTML button variables](https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables) are supported by prefixing their name with "data-". Here are the most commonly used:
31
31
32
-
**Item details**
33
-
*`data-item_name` Description of the item
34
-
*`data-item_number` The number of the item
35
-
*`data-quantity` Number of items
32
+
*`data-name` Description of the item
33
+
*`data-number` The number of the item
34
+
*`data-quantity` Quantity of items to purchase
36
35
*`data-shipping` The cost of shipping this item
37
-
*`data-shipping2` The cost of shipping each additional unit of this item
0 commit comments