Skip to content

Commit

Permalink
[Shopify] feat: support for displaying videos on shopify products (#992)
Browse files Browse the repository at this point in the history
* feat: add video support to product queries and transformation

* fix: new fixes to improve the code

Co-authored-by: Luis Sousa <lv-ss@hotmail.com>

* fix: improve video object mapping in product transformation

---------

Co-authored-by: Luis Sousa <lv-ss@hotmail.com>
  • Loading branch information
yuriassuncx and IncognitaDev authored Jan 24, 2025
1 parent d3b4324 commit db6acb3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
6 changes: 6 additions & 0 deletions shopify/utils/storefront/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ fragment Product on Product {
url
}
mediaContentType
... on Video {
alt
sources {
url
}
}
}
}
onlineStoreUrl
Expand Down
Loading

0 comments on commit db6acb3

Please sign in to comment.