Themewaves
How-To

How to Add a Shopping Cart to WordPress (Setup, Payments, Checkout)

Learn how to add a shopping cart to your WordPress site. Choose a plugin, install it, set up checkout, payments, emails, and cart features.

By Editorial TeamJune 20, 20267 min read
How to Add a Shopping Cart to WordPress (Setup, Payments, Checkout)

Shopping carts on WordPress, explained

If you want to sell products online, you can add a shopping cart to your WordPress site by installing an eCommerce plugin and using its built-in checkout flow. In practice, that means setting up product pages, a dedicated cart page, and a checkout page. You also connect payment gateways so customers can pay right away.

The two most common plugin families are WooCommerce and Easy Digital Downloads. WooCommerce is a full store plugin for physical goods and services, plus digital products. Easy Digital Downloads focuses on digital product sales and subscriptions, with a simpler setup.

When people search for “how to create shopping cart in WordPress,” they usually mean three things: the cart UI, the checkout form, and the order system. You also need customer notifications, like purchase emails and abandoned cart reminders.

Planning the WordPress shopping cart setup with a laptop and notes
Plan your WordPress store setup

Choosing the right plugin for your store

There is no single “best shopping cart for WordPress” for every business. The right choice depends on what you sell and how you plan to handle payments and downloads.

Use WooCommerce if you need broad options. It supports physical shipping, digital downloads, taxes, coupons, and many payment gateways. It also has a large ecosystem for extensions and design tweaks.

Use Easy Digital Downloads if your focus is digital sales. It streamlines carts and checkout for downloadable items. It can also handle add-ons like bundles and recurring payments, depending on your plan.

  • Physical products: Prefer WooCommerce
  • Digital product sales: Easy Digital Downloads is often simpler
  • Need many payment gateway options: WooCommerce usually has more integrations
  • Want minimal setup: Start with the plugin that matches your product type

If your goal is “how to add paypal shopping cart to WordPress,” confirm that your plugin supports the PayPal gateway you want. Many stores use PayPal for cards and PayPal balances through a payment gateway extension.

Payment and store setup cues for choosing an eCommerce plugin
Pick the right cart plugin

Install and activate your shopping cart plugin (step by step)

This section shows the standard flow to install a shopping cart plugin and get it ready to configure. The exact buttons may vary slightly between plugins, but the pattern is the same in WordPress.

  1. Log in to your WordPress admin dashboard.
  2. Go to Plugins → Add New and search for your chosen eCommerce plugin.
  3. Install the plugin, then click Activate.
  4. Run the setup wizard if the plugin offers one. This usually includes currency and basic store setup.
  5. Create a sample product to test checkout end to end.

After activation, most plugins add a new menu in the admin sidebar. That menu is where you manage products, taxes or fees, orders, and settings for payments.

If you see setup prompts for shipping or taxes, decide early which model fits your business. You can change these later, but fixing them sooner avoids checkout confusion.

Checklist and laptop representing plugin install and activation steps
Install and activate the plugin

Configure business details and payment methods

Before customers can pay, you must configure business details and connect a payment gateway. This is where you set your store currency, address basics, and how you will accept payments.

In WooCommerce, you typically go to WooCommerce → Settings and check the “Payments” section. Enable the gateway you want, then follow the prompts for merchant credentials. For PayPal, you usually enable the PayPal payment option and enter the required account details in the gateway settings.

In Easy Digital Downloads, you do the same concept: open the plugin settings, then choose payment methods. You will enter credentials for the gateway provider you choose. If you want cards and PayPal through one flow, check which gateway is supported in your plugin configuration.

What to set Where it usually lives Why it matters
Store currency General or Setup wizard Prices and checkout totals must match
Business address basics Store or General settings Helps with taxes and receipts
Payment gateway Payments settings Controls what customers can use to pay
Refund and order settings Payments or Orders Defines post-purchase admin flow

If you are testing “how to add paypal shopping cart to WordPress,” do it with a sandbox or test mode if your gateway offers it. This prevents real charges while you confirm the checkout redirects properly.

Organized setup of store details and payment gateway configuration
Set store and payment details

Create dedicated cart and checkout pages

Next, you need dedicated pages for the shopping cart and checkout. Most plugins use shortcodes or blocks to render cart contents and the checkout form.

Create a new WordPress page for the cart first. Name it something clear like “Cart.” Then add the plugin-provided cart shortcode or cart block. Do the same for the checkout page. Name it “Checkout” and add the checkout shortcode or block.

Finally, link those pages in your plugin settings. In WooCommerce, there is a setting for cart page and checkout page under the “Advanced” area. Without this mapping, your cart buttons may not open the right pages.

  • Create a Cart page and add the cart shortcode or block
  • Create a Checkout page and add the checkout shortcode or block
  • Set the plugin’s Cart page and Checkout page fields
  • Test a full purchase flow using a test order

If your theme uses full-width templates or custom page builders, confirm the cart and checkout pages still render correctly on mobile. Most checkout issues are layout or caching problems, not payment failures.

Customize the cart experience and checkout layout

Shopping cart page customization usually means two things: styling and behavior. Styling covers spacing, button labels, and the summary area. Behavior covers what fields are required and how totals update.

Start with plugin settings that control cart display. Look for options like showing coupons, enabling promo messages, setting cart item limits, and defining whether shipping cost is shown during checkout. Then check your theme’s styling support, since cart templates often inherit theme fonts and button styles.

Also review how the cart handles product types. If you sell digital product sales, confirm download links show after payment. If you sell variants, ensure your cart displays chosen options and the correct price.

  • Cart page customization: adjust totals layout, buttons, and coupon visibility
  • Checkout fields: require only what you need for fulfillment
  • Order summary: show shipping and discounts clearly
  • Mobile layout: test cart and checkout on a small screen

For “how to add shopping cart to wordpress website” using a custom theme, avoid heavy template overrides at first. Confirm default templates work end to end, then customize stepwise so you can isolate any breakage.

Payments and checkout: connect gateways and test the flow

Once pages are mapped, verify that the cart can move into checkout and complete an order. This is where payment gateways, tax rules, and order confirmations all meet.

Use the plugin’s order and payment logs to debug problems. If customers cannot complete payments, check whether your gateway credentials are correct and whether webhook or callback URLs are set properly. Some gateways also require you to enable specific payment methods in the merchant dashboard.

Test at least three cases. One should be a full-price checkout, one should use a discount code, and one should cover a product variation. Variations matter because they often affect stock, pricing, and the add-to-cart payload.

  1. Test a normal purchase from the cart page to the thank-you page.
  2. Test a discount code and confirm totals update.
  3. Test a variant product and confirm the selected options save.
  4. Check emails for both admin and customer delivery.

When people ask “how to add paypal shopping cart to wordpress,” they usually hit a redirect mismatch. If the checkout returns to the wrong page, confirm your checkout page mapping and any return URL settings in the PayPal gateway.

Optional features, notifications, and best practices

After the core checkout works, focus on conversions and reliability. Discount codes and product variations can increase order size and reduce purchase errors.

Set up discount codes in the plugin. In WooCommerce, you can create coupons with rules like cart totals, product categories, and expiration dates. In Easy Digital Downloads, coupon settings follow a similar rule system. Test a coupon in your cart before going live.

Product variations are also important for correct pricing. Variations let you create choices like size or color, without making separate products for each option. Ensure your add-to-cart form captures the right variation and that the cart and order reflect it.

Email notifications are essential for customer trust. Most plugins send purchase notifications automatically. You should also configure customer notifications for abandoned cart recovery, if the plugin supports it.

  • Discount codes: set rules, expiration, and minimum order amounts
  • Product variations: verify price and stock for each option
  • Customer notifications: confirm delivery for order confirmations
  • Abandoned cart recovery: send a timely reminder when checkout starts

In WooCommerce, “what is abandoned cart woocommerce” is simple. It refers to a customer who adds items to the cart but does not finish checkout. If you use a recovery feature, it typically triggers after a short delay and sends an email with a link back to checkout.

If you want to know how to send abandoned cart emails in woocommerce, look for an email automation setting in the plugin or an official recovery extension. Then confirm your trigger timing, email sender address, and checkout link destination.

Finally, keep the store stable. Use a performance cache carefully, since checkout pages can break if caching is too aggressive. Also confirm that your theme and cart templates are compatible with the plugin updates you install.

Quick checklist for going live

Before you accept real payments, re-run your test flow on a clean browser session. Clear caching and disable ad blockers for the test so your checkout scripts behave normally. Then test mobile again.

When everything works, you can promote your cart entry points. Link from product pages to the cart, and ensure your cart and checkout buttons target the correct pages you created.

FAQ

How do I add a shopping cart to wordpress site?
Install an eCommerce plugin, add products, then create dedicated Cart and Checkout pages. Finally, connect a payment gateway and test the full checkout flow.
What is the best shopping cart for WordPress?
It depends on what you sell. WooCommerce suits most stores, while Easy Digital Downloads can be easier for digital product sales.
How do I add paypal shopping cart to WordPress?
Enable the PayPal payment method inside your chosen plugin’s Payments settings. Use test mode first, then confirm redirects and order confirmations.
How do I create a shopping cart in WordPress?
Create a Cart page and insert the plugin’s cart shortcode or block. Then set the Cart page location inside the plugin settings.
What is abandoned cart WooCommerce?
It’s when a shopper adds items to the cart but leaves before finishing checkout. Recovery tools can email a reminder and a link back to checkout.
How do I send abandoned cart emails in WooCommerce?
Use a WooCommerce recovery feature or an official extension, then set the trigger delay and email content. Verify that the checkout link sends users to your checkout page.
#how to add a shopping cart to wordpress site#how to add paypal shopping cart to wordpress#how to create shopping cart in wordpress#best shopping cart for wordpress#shopping cart page customization#how to send abandoned cart emails in woocommerce#abandoned cart woocommerce#product variations and discount codes
ShareXFacebookLinkedInWhatsAppTelegram