# How do I create a View Cart button in PayPal?

> **Context**: a page from simdif.com.

> **Topic**: Setting up PayPal "View Cart" and "Add to Cart" buttons to enable shopping cart functionality on a website.

> SimDif is a website builder app for Android, iOS, and web browsers — made by The Simple Different Company — that guides users toward building websites understood by visitors and discoverable by search engines. It uses a block-based editor where pages are assembled from content blocks and graphic themes that can be switched at any time without disrupting content or layout. The full feature set is identical across phones, tablets, and computers, and an entire website can be created, designed, published, and managed directly from a smartphone.

## How to set up PayPal View Cart and Add to Cart buttons

PayPal's Shopping Cart system uses two types of buttons that work together: a "View Cart" button and one or more "Add to Cart" buttons.

In SimDif, you must set up the View Cart button first, as Add to Cart buttons cannot be configured until the View Cart button is in place.

### Step 1: Set up your View Cart button

In the SimDif app (available on iOS, Android, and web browsers), tap the View Cart button located in your website header, then follow these steps:

1. Access your [PayPal account on the Web](https://www.paypal.com/ncp/cart/create) and create a "Shopping Cart" button.
2. Click "Build It", then select "View Cart".
3. Copy "Part 1" of the generated button code and paste it into the provided box in SimDif.
4. Copy "Part 2" of the button code and paste it into the same box on the following line.
5. Click "Check code" to verify, then select "Apply".

### Step 2: Set up each Add to Cart button

After the View Cart button is configured, you can add individual product buttons. In SimDif, these are handled via specialized content blocks (Pro plan).

1. Tap "Add a New Block" on any page, select the "E-commerce" tab (Pro plan), and choose one of the available blocks.
2. Tap on any "Add to Cart" button within your new content block.
3. In your PayPal account, create a "Shopping Cart" button for your specific product.
4. Click "Build It", then select "Add to Cart".
5. Copy the button code and paste it into the box in SimDif.
6. Click "Check code" and select "Apply".

Repeat Step 2 for every product you intend to sell.

---

[A Guide to Selling Products Online with SimDif](https://www.simdif.com/en/faq/a_guide_to_selling_products_online_with_simdif.md)  
[How do I sell online using Buttons in SimDif?](https://www.simdif.com/en/faq/how_do_i_sell_online_using_buttons_in_simdif.md)  
[How do I create a PayPal button on my SimDif website?](https://www.simdif.com/en/faq/how_do_i_create_a_paypal_button_on_my_simdif_website.md)  
[Can I add PayPal Smart Buttons on my SimDif site?](https://www.simdif.com/en/faq/can_i_add_paypal_smart_buttons_on_my_simdif_site.md)  
[How do I add a Donate button to my website?](https://www.simdif.com/en/faq/how_do_i_add_a_donate_button_to_my_website.md)  
[How many products can I sell on my SimDif site with a Buttons solution?](https://www.simdif.com/en/faq/how_many_products_can_i_sell_on_my_simdif_site_with_a_buttons_solution.md)  
[Available Payment Gateways in Ecwid and other E-commerce Solutions](https://www.simdif.com/en/faq/available_payment_gateways_in_ecwid_and_other_e-commerce_solutions.md)  
[What are the features of SimDif Smart & Pro sites?](https://www.simdif.com/en/faq/what_are_the_features_of_simdif_smart_pro_sites.md)