Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed: Blank header appears on return detail page if ShopifyOrderName and HC OrderID are not present (#399) #405

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

ashutosh7i
Copy link
Contributor

Related Issues

#399

Short Description and Why It's Useful

When ShopifyOrderName and HC OrderID are missing, the header now displays alternative identifiers External ID. If no such identifiers is available, a placeholder message "Return" is shown ensuring the header is not blank.

Screenshots of Visual Changes before/after (If There Are Any)

image

Contribution and Currently Important Rules Acceptance

…fyOrderName and HC OrderID are not present
Copy link
Contributor

@ymaheshwari1 ymaheshwari1 left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution @ashutosh7i .

Please check the comment below, once done this PR will be good to be merged.

@@ -11,7 +11,7 @@
<main>
<div class="doc-id">
<ion-item lines="none">
<h1>{{ current.shopifyOrderName ? current.shopifyOrderName : current.hcOrderId }}</h1>
<h1> {{ current.shopifyOrderName ? current.shopifyOrderName : current.hcOrderId ? current.hcOrderId : current.externalId ? current.externalId : 'Return' }}</h1>
Copy link
Contributor

@ymaheshwari1 ymaheshwari1 Oct 19, 2024

Choose a reason for hiding this comment

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

We need to make the static text internationalize like the one done for Return Details text in title.

Also can you make the static text same as the one displayed in title Return Details

@ashutosh7i
Copy link
Contributor Author

Thank you,
i have implemented required changes.

op.mp4

@ymaheshwari1 ymaheshwari1 merged commit 4e897b0 into hotwax:main Oct 21, 2024
2 checks passed
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.

2 participants