fix(returns): ORDERS-7752 rename keys to be snake_case for consistency - #2711
Merged
bc-bryan merged 3 commits intoJul 28, 2026
Conversation
BC-SEven
force-pushed
the
feature/PROJECT-7525-new-returns-flow
branch
from
July 27, 2026 01:17
de1a079 to
4f7dccc
Compare
|
Sorry I missed email alert for this PR. Could you please post PR review requests in project-returns from next time? |
feat(orders): ORDERS-7706 add new return page layout
feat(orders): ORDERS-7706 add new return page layout
bc-bryan
force-pushed
the
ORDERS-7752-rename-returns-keys-to-snake-case
branch
from
July 27, 2026 23:47
fa1fb24 to
60f0e5a
Compare
bc-vivekaggarwal
approved these changes
Jul 28, 2026
There was a problem hiding this comment.
Thanks @bc-bryan Appreciate fixing this on FE too.
Happy to merge this without waiting for Trac team. This is a simple and safe change
bc-bryan
merged commit Jul 28, 2026
857086f
into
feature/PROJECT-7525-new-returns-flow
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What?
Changes the keys to match the stencil context returned front the storefront api.
Tickets / Documentation
Add links to any relevant tickets and documentation.
Note
Low Risk
Template-only property renames with no logic changes; low risk unless the API context still exposes camelCase keys, which would break resolution display.
Overview
Updates return details item resolution fields in
return-details.htmlso Handlebars reads snake_case keys from the storefrontreturn_detail.itemscontext instead of camelCase.Renamed bindings include
requested_differs_from_resolved,requested_resolution_type,requested_resolution_name,resolved_resolution_type, andresolved_resolution_name. Display logic (strikethrough when request differs from resolved, custom vs translated resolution labels) is unchanged.Reviewed by Cursor Bugbot for commit 60f0e5a. Bugbot is set up for automated code reviews on this repo. Configure here.