Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 177
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Getting Started With The PayPal Shopping Cart
4
5. Select the Yes; create an “Add to Cart” button radio button.
6. Enter the payment details of your item.
Item name – Enter the name of the item or service that you wish to sell.
Price – Enter the price of your item.
7. Scroll to the bottom of the page, and click the Create Button button.
The You are viewing your button code page opens.
8. Click the Select Code button on the Websites tab to select all of the generated HTML
code.
9. Copy the text that you selected to the clipboard, by:
pressing Ctrl+C.
– or –
right-clicking your mouse, and selecting Copy.
10.In your web editing tool, open the webpage where you want the button to be seen.
IMPORTANT: Be sure that your tool is ready for you to paste HTML code, such as by
switching to an HTML view from a design view of your webpage.
11. Paste the text that you copied from the clipboard onto your webpage where you want the
button to appear, by:
pressing Ctrl+V.
– or –
right-clicking your mouse, and selecting Paste.
Creating Basic Add to Cart Buttons With JavaScript Disabled
The button creation tool for Add to Cart buttons, described above, requires JavaScript. If
JavaScript is disabled in your browser, PayPal automatically offers you an alternative button
creation tool that does not require JavaScript.
Read these topics to learn more about creating Add to Cart buttons with JavaScript disabled:
z “Limitations When Creating Add to Cart Buttons With JavaScript Disabled” on page 177
z “Creating a Basic Add to Cart Button With JavaScript Disabled” on page 178
z “Enabling JavaScript in Your Browser” on page 179
Limitations When Creating Add to Cart Buttons With JavaScript Disabled. The
alternative tool that works with JavaScript disabled lets you create Add to Cart buttons on the
PayPal website. However, the following features are not supported by the alternative tool:
z Saving your buttons in your PayPal account
z Tracking inventory
z Product options with separate pricing