How to Lay Out an E-Commerce Website: 10 Tips That Help People Buy
By:
Theodore Broda
Ten practical layout tips for an online store, from the header and category pages to product pages, cart and checkout, built around what makes shoppers leave.

Now reading: How to Lay Out an E-Commerce Website: 10 Tips That Help People Buy
Key Takeaways
Lay out the store around the path to checkout. Home page, category page, product page, cart, checkout. Every page should make the next step obvious.
Show the full price early. Unexpected shipping, tax and fees are the top reason shoppers give for leaving a checkout.
Design the phone version first. Thumb-sized buttons, a sticky add-to-cart and short forms matter more than a polished desktop hero.
Cut checkout to what you actually need. Offer guest checkout and drop every field you can.
Start with the path to checkout
Most store layouts get designed from the top down: a big hero image, a few featured collections, then everything else. Shoppers don't move that way. Many land straight on a product or category page from search or an ad, and their job is to answer three questions fast: is this what I want, what will it cost, and how do I get it?
So lay the site out around that path. Sketch the five pages a buyer actually moves through (home, category, product, cart, checkout) and decide what each one has to show for the shopper to take the next step. The tips below follow that order.
1. Keep the header boring and predictable
Logo on the left, search in the middle or right, account and cart icons in the top-right corner. Shoppers have learned that pattern on every large store they've used, and a clever rearrangement only makes them hunt.
Show the cart item count on the icon, and keep the header sticky on mobile so search and cart are always one tap away. If you run a promotion, a single thin bar above the header is enough. Stacking three banners pushes the products below the fold before anyone has scrolled.
2. Name categories the way shoppers search
Your navigation is a list of guesses about how people think about your catalog. Use the words customers use ("Running shoes," not "Performance footwear") and keep the top level short, around five to seven items. Put deeper categories in a dropdown or mega menu rather than a long horizontal row.
Your site search logs and the queries in Google Search Console are the best source for those words. If people keep searching for something that sits three clicks deep, it probably belongs in the main menu.
3. Make search do real work
Shoppers who search usually know what they want, so a weak search box costs you some of your most ready buyers. On desktop, show the search field as an open box you can type in right away, and give it autocomplete with product thumbnails.
Plan the empty state too. A search that returns nothing should suggest close matches or popular categories, so the shopper doesn't head back to Google.
4. Give the home page one job per section
The home page should tell a first-time visitor what you sell and send returning visitors somewhere useful. In practice that means a clear statement of what the store is, a short row of top categories, and one or two sections that change with the season or a launch.
Rotating carousels tend to hide everything after the first slide, so a single static hero with one call to action usually does more. Put trust signals (shipping threshold, returns window, reviews) in a slim strip near the top instead of burying them in the footer.
5. Build category pages for comparing
A category page is where shoppers compare. Use a consistent grid, usually two products across on mobile and three or four on desktop, with images cropped to the same aspect ratio so the row lines up. Each card needs the photo, name, price and any sale price, and a rating if you have reviews.
Put filters on the left on desktop and behind one clear "Filter" button on mobile, and pick filters that match how people choose in your category: size and color for clothing, price and room for furniture. Show how many products each filter leaves, so nobody filters their way into an empty page.
6. Keep the product page decision above the fold
On a product page, the image, product name, price, the main option selectors and the add-to-cart button should all be visible without scrolling on a laptop. On a phone, that won't fit, so make the add-to-cart button sticky at the bottom of the screen once the shopper scrolls past it.
Below that, order the details by the questions people ask before buying: what it's made of, how it fits or what the dimensions are, shipping and returns, then reviews. Several large, zoomable photos, including one showing the product in use or for scale, answer more questions than a long description.
7. Show the full price as early as you can
Surprise costs are the single biggest reason shoppers give for leaving a checkout. In Baymard Institute's survey of US shoppers, 40% of those who abandoned a checkout said extra costs like shipping, tax and fees were too high, and 12% said they couldn't see or calculate the total upfront.
Layout can fix part of this. Put the free-shipping threshold in the header strip, add a shipping estimate on the product page, and show an estimated total in the cart before the shopper has to enter an address. If shipping is a flat rate, say so everywhere.
8. Let shoppers check the cart without stalling
The cart page should let shoppers check and adjust their order without losing momentum. Show thumbnails, the chosen options, quantity controls that work, and a running subtotal, with the checkout button repeated at the top and bottom of the page.
A slide-out cart drawer works well for adding items without leaving the product page, as long as it has a direct checkout button. Keep upsells to a small row of related items. A cart that turns into a second shopping page pulls attention away from the purchase.
9. Cut the checkout down
Checkouts collect far more than they need. Baymard's benchmark puts the ideal at 12 to 14 form elements, while the average US checkout shows about 23 by default. In the same abandonment survey, 18% of shoppers who left said the site wanted them to create an account, and 17% said checkout was too long or complicated.
Offer guest checkout and ask for an account only after the order is placed. Use one column of fields, combine first and last name where your systems allow it, hide the second address line behind a link, and default the billing address to the shipping address. Put express payment buttons such as Apple Pay, Google Pay or PayPal at the top, since they skip most of the form.
10. Lay out for the phone first
Phones bring in a large share of most stores' traffic, and a layout designed for desktop and squeezed down shows it. Start each page at phone width and add to it for larger screens, rather than shrinking a desktop page down.
Keep tap targets large enough for a thumb, use a single column for forms, and trigger the right keyboard for each field (numbers for phone and card, email for email). Test the whole path on a real phone over a mobile connection. Heavy images and pop-ups that are fine on office Wi-Fi often make a store unusable on the train.
A quick layout checklist
Header: logo, visible search, account and cart with a count, sticky on mobile.
Navigation: five to seven top-level categories, named in customer language.
Category pages: an even grid, consistent image crops, filters that match how people choose.
Product pages: image, name, price, options and add-to-cart visible together; sticky button on mobile.
Costs: shipping threshold and returns window shown before the cart.
Checkout: guest option, express payments at the top, one column, as few fields as possible.
Related
For readers focused on staying at the forefront of progress.





