Skip to content

Fix SKU retrieval logic for order items#9

Merged
dgoemans merged 1 commit intomainfrom
fix/variant-order-tracking
Aug 28, 2025
Merged

Fix SKU retrieval logic for order items#9
dgoemans merged 1 commit intomainfrom
fix/variant-order-tracking

Conversation

@dgoemans
Copy link
Copy Markdown
Member

No description provided.

@dgoemans dgoemans requested a review from Copilot August 28, 2025 12:08
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the SKU retrieval logic for order items to prioritize variant SKUs when available. The change ensures that when a product has variants, the system returns the specific variant's SKU rather than the parent product's SKU.

  • Updates SKU retrieval to check for variant SKU first before falling back to product SKU

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dgoemans dgoemans requested a review from stokes-adam August 28, 2025 12:09
@dgoemans dgoemans merged commit 69bdf46 into main Aug 28, 2025
12 of 20 checks passed
@dgoemans dgoemans deleted the fix/variant-order-tracking branch August 28, 2025 12:16
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