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

[TITAN - 280] - Produce mock data for product components and details pages #5

Merged
merged 2 commits into from
Apr 3, 2023

Conversation

RossoMaguire
Copy link
Contributor

Description

Adding stubs for a full list of products from Shopify and a single product from the storefront API. The latter is based on this POC where the product detail paged is composed of a mix of ACM model and Shopify data using the unified schema. It hasn't been created yet so is just a mock i.e shopifySite {}

To mock the product detail pages without the storefront API we can just write code that will search the stub for the product by handle.

As I was generating these mocks I made real requests in Shopify dashboard, the fragments we can use for these later are added as well. (The storefront API one is just a concept though as mentioned before it doesnt exist yet)

@RossoMaguire RossoMaguire requested a review from a team as a code owner April 3, 2023 11:15
@RossoMaguire RossoMaguire merged commit b4f703f into main Apr 3, 2023
@RossoMaguire RossoMaguire deleted the RossoMaguire/TITAN-280 branch April 3, 2023 14:31
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