Skip to content

fix(catalyst): TRAC-279 default brand PLP sort to featured#3021

Merged
mfaris9 merged 1 commit into
canaryfrom
TRAC-279
May 21, 2026
Merged

fix(catalyst): TRAC-279 default brand PLP sort to featured#3021
mfaris9 merged 1 commit into
canaryfrom
TRAC-279

Conversation

@mfaris9
Copy link
Copy Markdown
Contributor

@mfaris9 mfaris9 commented May 20, 2026

JIRA

TRAC-279

What / Why

Brand pages weren't showing products in the order the merchant set in the
Control Panel.

Catalyst wasn't telling the backend which sort to use when a shopper landed
on a brand page without picking one. The backend then fell back to its own
default, which doesn't honor the merchant's chosen order. Asking for
"featured" explicitly fixes this and matches the sort dropdown's default
selection.

Rollout / Rollback

No flag. Backwards compatible: the new default only applies when no ?sort= param is set, so any existing URL with a sort param is unaffected. Rollback is reverting the single line.

Testing

Tested in catalyst store. The first screenshot is featured items all with sort = 0. The second screenshot is featured items where Spray Bottle was assigned 1, Snake Plant was assigned -1, and ZZ Plant was left at 0.

Screenshot 2026-05-20 at 1 40 35 PM Screenshot 2026-05-20 at 2 15 41 PM

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
catalyst Ready Ready Preview, Comment May 20, 2026 9:46pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 20, 2026

🦋 Changeset detected

Latest commit: d8c79c0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

Bundle Size Report

Comparing against baseline from 7b38d98 (2026-05-20).

No bundle size changes detected.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 20, 2026

Unlighthouse Performance Comparison — Vercel

Comparing PR preview deployment Unlighthouse scores vs production Unlighthouse scores.

Summary Score

Aggregate score across all categories as reported by Unlighthouse.

Prod Desktop Prod Mobile Preview Desktop Preview Mobile
Score 89 93 92 95

Category Scores

Category Prod Desktop Prod Mobile Preview Desktop Preview Mobile
Performance 73 79 76 92
Accessibility 95 92 95 92
Best Practices 100 100 100 100
SEO 88 100 100 100

Core Web Vitals

Metric Prod Desktop Prod Mobile Preview Desktop Preview Mobile
LCP 5.1 s 5.4 s 3.5 s 3.3 s
CLS 0.037 0 0.001 0
FCP 1.1 s 1.1 s 1.2 s 1.1 s
TBT 0 ms 60 ms 0 ms 0 ms
Max Potential FID 50 ms 180 ms 40 ms 40 ms
Time to Interactive 5.1 s 5.5 s 3.5 s 3.3 s

Full Unlighthouse report →

Comment thread core/app/[locale]/(default)/(faceted)/brand/[slug]/page.tsx Outdated
@parthshahp
Copy link
Copy Markdown
Contributor

Also, can we clean up the commits a bit here. Looks like most of them are just changing wording? You can either amend or squash as needed.

Brand PLPs were defaulting to relevance, which is intended for search
results. Pin the default to featured so unranked brand pages match the
rest of the catalog.
Copy link
Copy Markdown
Contributor

@parthshahp parthshahp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, approved! Also just to double check: "featured" is meant to be the default, correct?

@mfaris9 mfaris9 added this pull request to the merge queue May 21, 2026
Merged via the queue into canary with commit 4e44415 May 21, 2026
18 of 19 checks passed
@mfaris9 mfaris9 deleted the TRAC-279 branch May 21, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants