From e75e67f27d2966a16214ac4aa780fe15ef2501c1 Mon Sep 17 00:00:00 2001 From: juanzgc Date: Wed, 12 Nov 2025 12:32:55 -0500 Subject: [PATCH] fix(draft-order): Update copy phone number (#14044) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary **What** — What changes are introduced in this PR? Copying the phone number would previously copy the email. Implements a fix to instead copy the expected phone number. **Why** — Why are these changes relevant or necessary? Implement the expected functionality **How** — How have these changes been implemented? Update the content of the `` component. **Testing** — How have these changes been tested, or how can the reviewer test the feature? Manual testing was performed --- ## Checklist Please ensure the following before requesting a review: - [ ] I have added a **changeset** for this PR - Every non-breaking change should be marked as a **patch** - To add a changeset, run `yarn changeset` and follow the prompts - [ ] The changes are covered by relevant **tests** - [ ] I have verified the code works as intended locally - [ ] I have linked the related issue(s) if applicable --- ## Additional Context CLOSES CORE-1282 --- .changeset/mighty-sides-hope.md | 5 +++++ .../src/admin/components/draft-orders/customer-section.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/mighty-sides-hope.md diff --git a/.changeset/mighty-sides-hope.md b/.changeset/mighty-sides-hope.md new file mode 100644 index 0000000000..e477aa95d7 --- /dev/null +++ b/.changeset/mighty-sides-hope.md @@ -0,0 +1,5 @@ +--- +"@medusajs/draft-order": patch +--- + +fix(draft-order): copy functionality for phone numbers in draft orders \ No newline at end of file diff --git a/packages/plugins/draft-order/src/admin/components/draft-orders/customer-section.tsx b/packages/plugins/draft-order/src/admin/components/draft-orders/customer-section.tsx index eea2fcfeda..6a615bfa67 100644 --- a/packages/plugins/draft-order/src/admin/components/draft-orders/customer-section.tsx +++ b/packages/plugins/draft-order/src/admin/components/draft-orders/customer-section.tsx @@ -134,7 +134,7 @@ const Contact = ({ order }: CustomerSectionProps) => {
- +
)}