Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 205
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Creating Advanced PayPal Shopping Cart Buttons on the PayPal Website
4
For more information, see Chapter 6, “Securing Your Website Payments Standard Buttons
Pricing Items in Multiple Currencies
All items that buyers add to carts must be priced in the same currency. The first item that
buyers add to an empty cart determines the currency for all items in the shopping cart. The cart
uses the currency that you selected for your Add to Cart buttons when you created them.
After a buyer adds the first item to a shopping cart, the buyer cannot add items priced in other
currencies. To change the currency of a shopping cart, a buyer must purchase the items in the
cart with the current currency or empty the cart and add items priced in the other currency.
To avoid shopping difficulties that arise with multiple currencies, price all of your items in the
same currency. If you must price items in multiple currencies, let buyers choose the currency
for viewing your catalog and display prices on your website only in the currency that the buyer
selected.
Working with View Cart Buttons
You need to create only one View Cart button, regardless of the number of Add to Cart buttons
that you create and add to your website. Place several copies of the View Cart button on your
website, wherever you want to let buyers view the their shopping carts and its current contents
and to begin the checkout process.
The HTML button code that PayPal generates for View Cart buttons does not require
protection, because the code does not contain any payment information. You can use the
generated HTML code for any View Cart buttons that you create – the code is identical.
To learn how to create View Cart buttons, see one of the following:
z “Using the Button Creation Tool for a View Cart Button” on page 218
z “Creating Advanced Add to Cart Buttons With JavaScript Disabled” on page 220
Using the Button Creation Tool for Advanced Add to Cart Buttons
Read the following topics to learn how to use the button creation tool for Add to Cart buttons:
z “The Basic Steps for Using the Tool With Add to Cart Buttons” on page 206
z “Saving Add to Cart Buttons in Your PayPal Account” on page 206
z “Tracking Inventory” on page 207
z “Adding Advanced Features to Add to Cart Buttons With HTML Variables” on page 207
z “Step 1 – Specifying Basic Features of Your Add to Cart Button” on page 207
z “Step 2 – Tracking Inventory With Your Add to Cart Button” on page 211
z “Step 3 – Adding Advanced Features to Your Add to Cart Button” on page 214
z “Copying and Pasting the Add to Cart Code” on page 216