# Adding a PayPal shopping cart to WordPress

> Sell products from your WordPress site with PayPal checkout by setting up the Simple PayPal Shopping Cart plugin.

Source: https://helpcenter.ruachost.com/wordpress/guides/adding-paypal-shopping-cart-to-wordpress/

If you want to sell products or services directly from your WordPress site, you can integrate a **PayPal shopping cart**. On **ruachost.com**, the recommended method is using the **Simple PayPal Shopping Cart plugin**, which allows you to add “Add to Cart” buttons and a checkout page with minimal setup.

## Why Use PayPal Shopping Cart?

- Quick and easy setup for e‑commerce.
- Secure payments via PayPal.
- No need for complex store management systems.
- Works well for small businesses, blogs, and service sites.

## Installing the Simple PayPal Shopping Cart Plugin

1. **Log in to WordPress** with an administrator account.
2. In the dashboard, go to **Plugins → Add New**.
3. Search for **Simple PayPal Shopping Cart**.
4. Click **Install Now**, then **Activate**.

✅ The plugin is now installed and ready to configure.

## ⚙️ Configuring the Plugin

1. In the dashboard, go to **Settings → WP Shopping Cart**.
2. Fill in the required fields:

   - **PayPal Account Information** → Your PayPal email address.
   - **Shipping Policy** → Define shipping rules.
   - **Return URL** → Page users see after successful payment.
   - **Cancel URL** → Page users see if they cancel checkout.
3. Click **Update Options** to save settings.

## Adding Cart Buttons and Checkout

- To add an **Add to Cart** button for a product, use this shortcode:

  ```
  [wp_cart_button name="Product Name" price="PRODUCT PRICE"]
  ```
- To display the shopping cart on a page or post, use:

  ```
  [show_wp_shopping_cart]
  ```

✅ You can also add the cart to your sidebar using the widget provided by the plugin.

## Important Notes

- You must have an active PayPal account to receive payments.
- Always test the checkout process before going live.
- Consider SSL/HTTPS for secure transactions.
- For advanced features (tax, shipping, coupons), you may want to explore **WooCommerce**.
