Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 227
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Creating Advanced PayPal Shopping Cart Buttons on the PayPal Website
4
8. If you want to change any of the details that you entered on the previous page, click the
Edit button and follow the instructions for “Page 1 – Specifying the Basic Features of the
Add to Cart Button” on page 220, beginning with Step 5.
– or –
If you have entered all the details and options for your button, go to “Copying and Pasting
PayPal Shopping Cart Code With JavaScript Disabled” on page 227.
Copying and Pasting PayPal Shopping Cart Code With JavaScript Disabled
After you enter the details and options that you want for your Shopping Cart buttons, click the
Create Button Now button. PayPal generates HTML code for two PayPal Shopping Cart
buttons:
z an Add to Cart button, which is used for the item you want to sell.
z A View Cart button, which takes buyers to a webpage hosted by PayPal that displays all the
items that buyers have added to their carts and from where they check out and pay.
The Add a shopping cart to your site page displays the generated code.
Copying and Pasting the HMTL Code for the Add to Cart Button With JavaScript
Disabled. To copy and past the HTML code for the Add to Cart button:
1. Click the “Add to Cart” button code text box to select all of the generated HTML code.
2. Copy the text that you selected to the clipboard, by:
pressing Ctrl+C.
– or –
right-clicking your mouse, and selecting Copy.
3. In your web editing tool, open the webpage where you want the button to be seen.
4. 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.
Copying and Pasting the HTML Code for the View Cart Button With JavaScript
Disabled. You need to paste at least one View Cart button onto your website. Paste the View
Cart HTML code onto your website in locations where buyers can easily see them and click to
check out.
For more information, see “Working with View Cart Buttons” on page 205.
To copy and past the HTML code for the View Cart button:
1. Scroll down the Add a shopping cart to your site page to the View Cart Button section.
2. Click the “View Cart” button code text box to select all of the generated HTML code.