Ecommerce Website Design Best Practices, Page by Page

Ecommerce design best practices organised by the page a shopper is on: homepage, navigation, category listings, search, product pages and mobile, with what to include and common mistakes to avoid.

Browse the templates: Ecommerce website templates

Good ecommerce web design helps a shopper do three things quickly: find the right product, trust it enough to buy, and pay without friction. In practice that means navigation that matches how customers think, fast mobile pages, big product photos, prices and shipping shown early, visible reviews, and a short checkout.

Rather than a list of general principles, this guide goes page by page, because the shopper's question changes on each one.

Homepage: "Am I in the right place?"

The homepage has a few seconds to confirm what you sell and who it is for.

Include:

  • A headline that names what you sell in plain words ("Handmade leather bags for everyday carry," not "Crafted for you")
  • One hero image that shows the product in use
  • Links to your top 3 to 6 categories, with images
  • Your main shipping or returns promise in a thin bar at the top
  • Best sellers or new arrivals, so returning visitors see something fresh

Avoid: auto-rotating carousels, pop-ups that fire before the page has loaded, and hero videos that delay the first view on mobile.

Navigation: "Where is the thing I want?"

  • Name categories the way customers search. "Running shoes," not "Performance footwear." Your site search logs and Google Search Console queries tell you the words people use.
  • Keep the top level short. Five to eight main items is a sensible ceiling. Use a mega menu for large catalogues, with images for visual products.
  • Let products live in more than one place. A waterproof jacket can sit in both "Jackets" and "Hiking."
  • Add breadcrumbs on category and product pages so people can step back up a level. Mark them up with BreadcrumbList structured data for search.

Category pages: "Which of these is right for me?"

This is where most comparison happens.

ElementBest practice
Product cardsSame image ratio for every product, name, price, rating, and a second image on hover
FiltersMatch real decisions: size, colour, price, material, in stock. Show counts.
SortDefault to "Featured" or "Best selling"; offer price and newest
StockHide or clearly mark sold-out items
PagingLoad more or numbered pages; keep the filter state when people go back
MobileFilters in a slide-up panel with a clear "Show 34 results" button

A common mistake is filters that clear themselves when the shopper opens a product and returns. Test the Back button.

Site search: "I know what I want"

Shoppers who search usually have high intent, so a weak search box costs sales directly.

  • Put the search field in the header, visible on desktop and one tap away on mobile.
  • Tolerate typos and synonyms ("tee" should find "t-shirt").
  • Show product suggestions with images as people type.
  • Never show a dead end. On "no results," suggest categories or best sellers.
  • Review your search terms monthly. Frequent searches with no results tell you what to stock or how to rename products.

Product pages: "Should I buy this?"

The product page does the selling. Work through it top to bottom.

Photos

  • Several images per product: front, back, detail, scale (on a person or next to a familiar object), and in use
  • Zoom on desktop and pinch-zoom on mobile
  • A consistent background across the catalogue
  • Video where movement matters, like fabric drape or how a gadget folds

Price, options and the buy button

  • Price close to the product name, with any sale price shown clearly
  • Variant selectors as buttons or swatches, not dropdowns, when there are only a few options
  • Unavailable sizes shown but disabled, so shoppers know the range
  • One high-contrast Add to Cart button, and a sticky version on mobile as people scroll
  • Delivery estimate and shipping cost or threshold right beneath it

Description and details

Lead with what the product does for the customer, then the specs. Use a short spec table for dimensions, materials and care. Size guides should open in a panel on the same page rather than sending people away.

Trust

  • Star rating and review count near the top, full reviews lower down, with photos from customers if you can get them
  • Returns policy in one line near the button
  • Answers to the questions your support inbox gets most

Add Product structured data (name, image, price, availability, reviews) so search results can show price and ratings.

Cart and checkout: "Let me pay and go"

Checkout design is its own discipline. The short version: show the full cost early, allow guest checkout, keep the form short, and offer express wallets like Apple Pay and Google Pay. Our guide to checkout optimization covers each step in detail.

Post-purchase pages: "Did it work, and what now?"

Design does not stop at the Pay button. The order confirmation page and email are read closely by almost every buyer.

  • Show the order number, items, total and delivery estimate clearly.
  • Offer account creation here, prefilled with the details they already entered.
  • Link to order tracking and your returns process.
  • Suggest a related product only if it genuinely goes with what they bought.
  • Make the confirmation email match your store's look, so it is not mistaken for spam.

Mobile: design here first

Most store visits come from phones, so design and test the phone layout first, then expand for desktop.

  • Tap targets around 44 pixels tall or more
  • Text at 16 pixels or larger so iOS does not zoom into form fields
  • Sticky Add to Cart on product pages
  • No hover-only features, since there is no hover on a touchscreen
  • Test on a real mid-range phone over mobile data

Speed and accessibility

Both are design decisions, not just technical ones.

Speed: compress images and serve WebP or AVIF, set width and height on images to stop layout jumps, limit third-party apps and scripts, and check your Core Web Vitals in Google's PageSpeed Insights.

Accessibility: colour contrast that meets WCAG 2.2 AA, alt text on product images, labelled form fields, keyboard-reachable menus and filters, and error messages that say what went wrong. Accessible stores are easier for everyone to use, and in many regions accessibility is also a legal expectation.

A pre-launch design review

  • [ ] Homepage says what you sell in one sentence
  • [ ] Category names match customer search terms
  • [ ] Filters survive the Back button
  • [ ] Search handles typos and never shows a blank page
  • [ ] Every product has several photos with zoom
  • [ ] Shipping cost or threshold visible on product pages
  • [ ] Reviews shown near the top of product pages
  • [ ] Sticky Add to Cart on mobile
  • [ ] Guest checkout enabled
  • [ ] PageSpeed Insights mobile report checked and major issues fixed

Getting a store built

If you are starting from scratch, a good starting layout saves a lot of these decisions. Browse our templates for store designs, or describe your shop to We.Inc in chat and it builds an online store with product pages, cart and checkout that you can then refine visually or in code, with hosting and SSL included.

Build your site free

Frequently asked questions

What are the most important ecommerce design best practices?

Clear navigation by how shoppers think about your products, fast pages, large zoomable product photos, price and shipping information near the Add to Cart button, visible reviews, working on-site search, and a short checkout with guest purchase. Design for phones first, since that is where most store browsing happens.

How many products should a category page show?

Enough that shoppers can compare without endless paging. Many stores show 24 to 48 per page or use a Load more button. What matters more is good filters for the attributes people choose by, such as size, colour, price and availability.

What should be above the fold on a product page?

The product name, main image, price, key variant selectors (size, colour), stock status, the Add to Cart button, and a line on shipping or delivery time. Star rating and review count belong there too if you have reviews.

Should an ecommerce homepage have a carousel?

Usually not. Auto-rotating sliders are often ignored and can hurt accessibility and load time. A single strong hero with one clear message and links to your top categories tends to work better.

More in Blog

Website builders for the businesses in this article

Start building

How we research, test and update this page: our editorial policy. We.Inc is our own product.

Product

Who It's For

Features

Resources

Company

View Sitemap