E-commerce website · UX case studyTested with 5 people

LG Cool Store: one bag, one price, one step at a time

Shoppers saw one total in the bag and another at checkout, and the size picker made a choice for them. I found where the totals split, rebuilt the cart around one source of truth and tested the flow with 5 people.

My role
Solo: research, UX/UI, front-end and PHP
Type
Demo streetwear store, personal project
Timeline
4 modules, fall 2026
Tools
PHP, MySQL, JavaScript, Playwright checks
Tested with
5 people, unmoderated, Oct 2026
LG Cool Store home page: the headline “Everyday caps, sneakers and bags.”, Shop all and See the sale buttons, and a studio photo of a brown backpack, black sneakers and a black cap. (opens the full-size image)
Final store, home page. Product photos share one studio backdrop, so the shop looks like one brand.
On this page
  1. 01  Context
  2. 02  My role
  3. 03  Problem
  4. 04  Process
  5. 05  Decisions
  6. 06  Final work
  7. 07  Results and learning
  8. 08  Next steps
01

Context

LG Cool Store is a demo streetwear shop I first built in PHP in December 2025: six products, one bag, a promo code and a checkout. Coming back to it for my portfolio, I treated it like a real store and asked one question: why would someone leave at checkout?

In scope · one journey

Pick a size, add to bag, apply SAVE10 and check out with a total that matches on every screen.

Left for later

Accounts, real payments, shipping options and reviews.

02

My role

What I did

Audit, research, flow redesign, visual system, PHP and JavaScript rebuild, and the usability test.

Constraints

Solo and part-time over four modules. My Module 3 code was lost, so I rebuilt from my December 2025 GitHub version. I used an AI coding assistant for parts of the rebuild and reviewed every change.

03

Problem

A shopper who sees the price change between the bag and checkout stops trusting the store, even when the change is a rounding bug.

  • 2 carts

    A JavaScript cart and a PHP cart each calculated the total, so they could disagree.

    My audit of the Dec 2025 build

  • 40%

    of US shoppers who abandon a checkout say extra costs like shipping, tax and fees were too high.

    Baymard Institute, cart abandonment list (checked Nov 2026)

  • 17%

    abandon because checkout feels too long or complicated.

    Baymard Institute, cart abandonment list (checked Nov 2026)

The December 2025 product page for High-Top Sneakers. Marker 1 points to a 4.8 out of 5 rating from 124 reviews. Marker 2 points to size 8, already selected. (opens the full-size image)
Before, December 2025 build. (1) A made-up 4.8 rating from 124 reviews. (2) Size 8 picked for the shopper. Photos here are local stand-ins for the original stock images.
04

Process

Four modules, each ending with something I could check. I kept the motto as the test for every change: one bag, one price, one step at a time.

  1. Module 1

    Reframe and research

    Audit the Dec 2025 build. Compare against Baymard checkout research.

  2. Module 2

    Cart-to-checkout clarity

    One cart, one total. 8 checks on bag, checkout and button.

  3. Module 3

    Trust and access

    WCAG audit: 107 issues down to 6, and those 6 are exempt.

  4. Module 4

    Test and rebuild

    5-person prototype test, then the v5 store: 51 of 51 flow checks.

05

Decisions

Three decisions shaped the final store. Each shows what I turned down, what I chose and the evidence behind it.

Decision 1

One source of truth for the total

Option I rejected

Patch the JavaScript cart so its math matched the PHP cart.

What I chose

Delete the JavaScript cart. Every page asks one function, getCartTotals(), for its numbers.

Why

Two calculators drift apart again the next time one is edited. With one source, the bag, checkout and Pay button can't disagree.

EvidenceAudit · Dec 2025 buildTest · 5 of 5 right totalTested with 5 people
Diagram. Before: a JavaScript cart and a PHP cart, both calculating the total. After: one function, getCartTotals(), feeding the bag, checkout and Pay button. (opens the full-size image)
Two calculators became one. Every screen now reads its numbers from the same place.

Decision 2

Make size a choice, not a default

Option I rejected

Keep size 8 preselected, so adding to the bag takes one tap.

What I chose

No size preselected. A Required label and a hint show before the first tap, and an inline message appears if it's skipped.

Why

A default is a guess the shopper may not notice. In testing, P3 didn't realize size was required until the error, so I moved the cue before the tap.

EvidenceTest · P3Baymard · apparel sizingChanged after testing · not yet re-tested
Product page for Suede Low-Top Sneakers. The size box is labeled “Size (US), Required” with the hint “Pick your size first,” and no size is selected. (opens the full-size image)
After. The size row says Required before anyone taps Add to bag.

Decision 3

Explain the order of discount and tax

Option I rejected

Show only the final total to keep the summary short.

What I chose

Show items, discount, tax and total, with one line under the totals: tax is worked out after the discount. The help page walks through an example.

Why

P5 and P3 couldn't tell whether tax came before or after SAVE10. P1 and P4 said the visible breakdown was what made them trust the total.

EvidenceTest · P1, P3, P4, P5NY tax bulletin on store couponsChanged after testing · not yet re-tested
Bag with one pair of sneakers. The order summary shows SAVE10 applied, you save $7.00; items $69.99, discount −$7.00, free shipping, sales tax $5.04, total $68.03, and a note that tax is worked out after the discount: $62.99 × 8%. (opens the full-size image)
After. The tax note sits directly under the totals, where testers looked for it: $62.99 × 8% = $5.04.
06

Final work

Checkout details step with contact and delivery fields on the left. The order summary on the right shows the same $68.03 total, and the button reads Place order, $68.03. (opens the full-size image)
Checkout. The same $68.03 as the bag, and the button repeats it, so there's one price from bag to order.
07

Results and learning

Measured

4 of 5

finished checkout without help. 5 of 5 stated the correct total. Average ease 5.6 out of 7.

Assumed

3 fixes

The tax note, promo confirmation and Required label should remove the confusion testers hit. Built, not re-tested.

Still unknown

2 groups

I haven't tested with people outside my network or with screen-reader users, so I don't know how they get through checkout.

Unmoderated test, October 2026: 5 people from my own network, 6 written questions each. The pass mark was set before testing.

What I learned

Fixing the technical bug didn't remove the confusion. Everyone got the right total, but two people still couldn't explain it. Clarity is a design problem even when the math is correct.

08

Next steps

  • A moderated retest with 5 people outside my network
  • A screen-reader pass and a 200% zoom check on checkout
  • Larger product photos for the close-up views