Many businesses treat the e-commerce shopping cart as a holding area between product discovery and checkout – a necessary but relatively unimportant part of the e-commerce stack. That mentality undersells what the cart actually does. It manages inventory checks, discount application, shipping estimates, and the handoff to checkout and its design can affect how many customers make it to the payment stage.
A majority of online carts are abandoned across industries. Below, we'll explore how e-commerce shopping carts work, how cart design and payment integration affect conversion, and how to evaluate the true cost of cart software before you commit.
Key takeaways
The shopping cart controls a substantial part of the purchase funnel, from inventory checks to the handoff to checkout.
Cart design decisions such as fee transparency, persistent sessions, and express checkout options can lift conversion rates.
Evaluating cart software on sticker price alone can mean missing transaction fees, required add-ons, and switching costs.
What does an e-commerce shopping cart do?
The e-commerce shopping cart manages quantity adjustments, variant selections (e.g., size, colour, configuration), coupon and discount application, and real-time shipping estimates. It also runs inventory checks and can tell a customer, for example, that only two units remain in stock before they reach checkout. The e-commerce shopping cart also handles the handoff to checkout.
Hosted shopping cart software vs. building your own: Which e-commerce shopping cart approach makes sense?
Two options are common here: using hosted cart software and building custom carts. These involve trade-offs on cost, control, and maintenance.
Hosted cart software
Hosted carts come bundled with major platforms. The cart logic is prebuilt, maintained by the platform, and updated automatically. Your compliance burden for the Payment Card Industry Data Security Standard (PCI DSS) is lower, and you don't need a developer to launch. The trade-off is the customisation ceiling: you can adjust templates and configure settings, but you can't fundamentally redesign cart logic without working against the platform.
Custom carts
Custom carts give you full ownership of the experience, including cart behaviour, data structure, and user interface (UI). You can build exactly what your business needs, but that control comes at a cost. You'll need to put in developer time and ongoing maintenance, and you'll be responsible for keeping cart logic current as payment methods, browser behaviour, and security requirements change.
A business that's launching its first direct-to-consumer channel should strongly consider starting with a hosted solution. The speed-to-launch advantage is significant, and the constraints won't feel limiting until your business has had a chance to outgrow them. A business with complex product configuration, unusual pricing logic, or front end architecture separate from the back end data has stronger reasons to build its own cart.
How does e-commerce shopping cart design influence whether customers complete a purchase?
Cart design is where user experience principles demonstrate their importance. A few specific elements drive impact:
Transparency about cost: Unexpected fees are a major reason for cart abandonment. If shipping costs, taxes, or service fees appear only at checkout, customers can feel misled and some might leave without completing their purchases. It's important to show accurate estimates in the cart itself, before the customer clicks "proceed to checkout."
Progress clarity: Customers need to know how many steps separate them from a completed order. A cart that clearly shows "cart → shipping → payment → confirm" sets expectations and keeps customers oriented.
A dominant checkout call to action: Every element in the cart that isn't the checkout button is a potential distraction. Cross-sells, newsletter sign-ups, and social sharing prompts have their place, but they shouldn't compete with the primary action. The checkout button should be visually dominant and consistently positioned.
Persistent cart state: If a customer adds items on mobile, closes the browser, and returns on a laptop two days later, the cart should remember what they selected.
Guest checkout availability: Forcing account creation before purchase can kill conversions in e-commerce. Account creation is your goal, not the customer's, so offer guest checkout and wait until after the purchase to ask whether they'd like to create an account.
How do you integrate payments and accelerated checkout into your e-commerce shopping cart?
The payment experience starts at the cart. How you display payment options at the cart level shapes customer expectations before customers ever reach a payment form.
Express checkout
Express checkout buttons, placed in the cart or directly on the product page, let customers bypass the traditional checkout form entirely. Link, a digital wallet built by Stripe, is a good example. Returning customers who've stored their payment and shipping details can complete a purchase with a single click, without re-entering any information. That collapses the distance between "add to cart" and "order confirmed." The data has to migrate effectively. If item details, quantities, discount applications, and shipping selections can't pass reliably to the payment layer, express checkout creates more problems than it solves.
Payment method visibility
The cart should preview the payment methods available at checkout, such as credit cards, digital wallets, and buy now pay later (BNPL) options where relevant. Customers who see their preferred payment methods represented are generally more likely to continue with the transaction.
Stripe integrates directly with major existing platforms and handles payment UI at both the cart and the checkout layer. With custom carts, Stripe's Payment Element renders a dynamic, localised form that adapts to the customer's location and context.
What e-commerce shopping cart mistakes cost businesses sales?
Many cart problems are patterns that show up across businesses and are fixable once you know what to search for. Watch for the following common issues:
Forced account creation: Requiring customers to register before purchasing adds a step that some won't complete. Guest checkout should be the path of least resistance.
Late fee disclosure: Taxes and shipping costs that appear only at the payment stage can feel like bait and switch, even when they're not. If exact shipping can't be calculated without an address, show a range or a "calculated at checkout" label rather than nothing.
Slow cart page load times: Every additional second of load time decreases conversion. Cart pages with heavy image assets, unoptimised scripts, or third-party tracking bloat can cost sales. Page speed audits on cart and checkout pages are worth running regularly.
Limited payment method coverage: Offering only credit cards in markets where digital wallets or bank transfers dominate means potentially losing customers who made it all the way to checkout.
No saved-for-later functionality: Customers who aren't ready to buy immediately need somewhere other than the cart to put items. A saved-for-later option keeps those items visible and gives you a way to follow up.
Poor mobile cart experience: Cart UIs that work well on desktop often break down on mobile. Tap targets might be too small, layouts might not reflow, and quantity selectors might be too hard to use with a thumb.
How do you evaluate the total cost of ownership for e-commerce shopping cart software?
Sticker price is almost never the full picture. When you're comparing cart software, build out the full cost model across these dimensions:
Platform and licensing fees: Monthly or annual subscription costs, including any tier upgrades you'll realistically need as your catalogue and traffic grow.
Transaction fees: Some platforms charge a percentage of each transaction separate from payment processing fees, which can compound quickly.
Required add-ons: Basic cart platforms often require paid extensions for features you might assume are standard, such as advanced shipping rules, subscription billing, B2B pricing, and multicurrency display. Audit what's included and what costs extra.
Developer and customisation costs: On hosted platforms, this is the cost of any custom work a developer needs to implement. With self-hosted carts, it's the ongoing cost of maintaining the codebase, applying security patches, and building new functionality.
Switching costs: If you outgrow your cart software, migrating product data, customer records, and order history to a new platform is expensive and disruptive. A cart that's cheap to start but painful to leave has a different true cost from one designed for portability.
How Stripe Payments can help
Stripe Payments provides a unified, global payments solution that helps any business – from scaling startups to global enterprises – accept payments online, in person and around the world.
Stripe Payments can help you:
Optimise your checkout experience: Create a frictionless customer experience and save thousands of engineering hours with prebuilt payment UIs, access to 125+ payment methods and Link, a wallet built by Stripe.
Expand to new markets faster: Reach customers worldwide and reduce the complexity and cost of multicurrency management with cross-border payment options, available in 195 countries across 135+ currencies.
Unify payments in person and online: Build a unified commerce experience across online and in-person channels to personalise interactions, reward loyalty and grow revenue.
Improve payment performance: Increase revenue with a range of customisable, easy-to-configure payment tools, including no-code fraud protection and advanced capabilities to improve authorisation rates.
Move faster with a flexible, reliable platform for growth: Build on a platform designed to scale with you, with 99.999% historical uptime and industry-leading reliability.
Learn more about how Stripe Payments can power your online and in-person payments or get started today.
The content in this article is for general information and education purposes only and should not be construed as legal or tax advice. Stripe does not warrant or guarantee the accuracy, completeness, adequacy, or currency of the information in the article. You should seek the advice of a competent lawyer or accountant licensed to practise in your jurisdiction for advice on your particular situation.