Integration Guide

Table Of Contents
PayPal Payments Standard Integration Guide June 2012 267
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Creating Advanced PayPal Shopping Cart Buttons on the PayPal Website
6
Specify the product options when you create Add to Cart buttons by using the creation tool
on the PayPal website.
See Step 7 of “Step 1 – Specifying Basic Features of Your Add to Cart Button” on
page 271.
Specify the product options in the HTML button code that you write manually.
See “Sample Code for an Add to Cart Button With Product Options” on page 286.
Offering Discounts With Add to Cart Buttons
PayPal allows you to offer a discount for an item. You can offer item discounts either as an
amount or a percentage.
Set a discount amount that applies to single or multiple quantities of the item. You can set a
discount for the first item and a different discount for the additional quantity, and you can
limit the total quantity to which the discount applies.
Set a discount percentage that applies to single or multiple quantities of the item. You can
set a discount for the first item and a different discount for the additional quantity, and you
can limit the total quantity to which the discount applies.
When you set a discount amount or percentage, you can limit the number of items to which the
discount applies. Any applicable tax calculations occur after subtracting the discount.
The discount amount displays on all pages, email messages, and reports that show payment
information.
Specifying item discounts
Do one of the following to create Add to Cart buttons that specify discounts:
Specify the discount amounts or percentages when you create your Add to Cart buttons by
using the creation tool on the PayPal website.
See Step 5 of “Step 3 – Adding Advanced Features to Your Add to Cart Button” on
page 279.
Specify that you want PayPal to prompt buyers for item quantities in the HTML button
code that you write manually.
See “Sample HTML Code for Add to Cart Buttons with Discounts” on page 296.
Creating Advanced PayPal Shopping Cart Buttons on the
PayPal Website
Read the following topics to learn more about creating Add to Cart buttons on the PayPal
website:
“The Basic Steps for Using the Tool With Add to Cart Buttons” on page 268
“Saving Add to Cart Buttons in Your PayPal Account” on page 269