Skip to content

Commit

Permalink
Add merchandise fields to closer match what was originally returned i…
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenzieclark committed Aug 29, 2024
1 parent d111460 commit b8453bf
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ secrets.json
.nvmrc

# VSCode settings
.vscode
.vscode

# PHPStorm settings
.idea
27 changes: 27 additions & 0 deletions src/graphql/CartLineFragment.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@ fragment CartLineFragment on CartLine {
merchandise {
... on ProductVariant {
id
title
image {
id
src: url
altText
width
height
}
product {
id
handle
title
}
weight
available: availableForSale
sku
selectedOptions {
name
value
}
unitPriceMeasurement {
measuredType
quantityUnit
quantityValue
referenceUnit
referenceValue
}
}
}
quantity
Expand Down

0 comments on commit b8453bf

Please sign in to comment.