Integration Guide

Table Of Contents
PayPal Payments Standard Integration Guide June 2012 313
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Creating PayPal Shopping Cart Buttons with JavaScript Disabled
6
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 307, 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 313.
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:
An Add to Cart button, which is used for the item you want to sell.
A View Cart button, which takes buyers to a webpage hosted by PayPal. This page lists the
items that buyers added to their carts and allows them to 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.
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.
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 create only one View Cart button, regardless of the number of Add to
Cart buttons that you create and add to your website. View Cart buttons on your website let
buyers view their shopping carts and the items in them. From there they can proceed to
checkout.
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.
3. Copy the text that you selected to the clipboard, by: