
Learn to use Shopify Hydrogen and the storefront API through Emre’s five years of web and mobile development experience, and explore insights from the shopy ecosystem.
Learn project-based Shopify Hydrogen development with GraphQL Storefront API, using the admin panel to implement discounts, buy-one-get-one campaigns, quantity management, a functional search system, and app publishing.
Build custom storefronts with Shopify Hydrogen using the Storefront API for products, cart, customers, and search, while managing data in the Shopify admin panel.
Discover headless commerce with Shopify Hydrogen and compare Liquid and Hydrogen to see how decoupling the front end from the back end enables faster performance, greater customization, and React-based storefronts.
Launch your first Shopify Hydrogen app by configuring a new project in VSCode, installing dependencies with yarn, and running yarn dev to view localhost:3000 with a sign-in panel.
Create your first Shopify Hydrogen account by visiting shopify.com, starting for free, selecting your country/region, and signing up with Google or email.
PUBLIC_STOREFRONT_API_TOKEN
Explore Remix routing with file-based paths, learn how the dollar sign denotes variables, optional parameters, and 404 handling, and review example routes like index.js, search.json, and account/[id].js.
Learn how Remix loader functions run on the server to fetch data before rendering, enabling data prefetching, safer server-side access to databases and APIs, and improved SEO and performance.
Explore client-side rendering in Remix apps, fetch and use loader data with useLoaderData, and implement dynamic routes and index pages to render personalized greetings.
Explore Remix's server side routing by implementing loader and action functions to handle get and post requests, returning JSON responses and testing with Postman.
Learn to create a standalone product item component in a Hydrogen and GraphQL storefront, pass product data and a key prop, and wire it into the app for reusable use.
Create a buy one, get one discount in the Shopify admin, then configure a gift product metafield (custom namespace) as a product variant for Hydrogen storefront integration.
Implement a gift product metafield in a Shopify hydrogen app using GraphQL by adding the meta field to product queries (namespace custom, key gift product) and updating related fragments.
Learn to automatically add a gift product to the cart using the cart form and server-side actions in Shopify Hydrogen.
Learn to automatically add a gift product to the cart by detecting the gift variant, reading the product variant ID, and pushing the gift item into the cart array.
Learn to automatically update gift and original product quantities in the Shopify Hydrogen cart by using the cart get and lines update actions, syncing increases and decreases.
Automate the removal of the gift product and the current item in a Shopify Hydrogen storefront by detecting input line IDs and removing the matching line IDs.
Learn to hide adjust buttons for free products by inspecting line parameters, checking cost and total amount, and conditionally rendering only the quantity when the item is free.
Learn how to replace a zero price with 'free' by editing the cart line price component in a Shopify Hydrogen storefront, using an isFree variable.
Learn what GraphQL is and how the storefront API, a headless storefront, fetches data to display products, build cards, manage cart objects, and work with Hydrogen or your own stack.
Learn how to use the storefront api with hydrogen apps by querying product data, including price range and total inventory, using code in visual studio code and the admin panel.
Learn how to use GraphQL playground on localhost to query shop data, fetch product names and price ranges, and explore fields and arguments via the Documentation Explorer.
Discover how to use variables in a GraphQL query for Shopify Hydrogen storefronts, including passing values with a dollar sign, defining variables in the query, and testing with different counts.
Learn to fetch multiple fields with a single GraphQL query, avoiding multiple rest api requests. Use handle arguments and variables to retrieve a specific product and preview results.
Learn how GraphQL fragments create reusable components and reduce repetitive query code by defining and reusing fragments like product with a price range and money values.
Learn to fetch cart details using a GraphQL query by obtaining the cart ID from browser storage, converting fragments to a get cart query, and testing the query in development.
Learn to display the campaign name for a free product by querying cart automatic discount allocations in GraphQL and showing the title and discount amount via the cart query fragment.
Learn to extract the campaign name from discount allocations and display it alongside the free product, using select options and conditional rendering for zero totals.
Show how to display price ranges in the search results by updating the product grid and integrating min and max variant prices with a money component.
Implement a min and max price filter in search by updating the search form and extending the GraphQL storefront query to use product filters with price min and max.
Learn to publish your application on vercel by signing up, linking GitHub, configuring environment variables, and deploying with a single deploy button.
Share your feedback in the comments and rate this course five stars; connect on LinkedIn to stay in touch, and look forward to joining you in future courses.
Are you new to the Shopify ecosystem?
You hear about GraphQL Storefront API, Shopify Hydrogen, and Shopify Admin Panel, but you don't know where to start. Don't worry, I am here to help! I'll teach you all of them. So, after finishing this course, you will know precisely how to build a beautiful, professional, and ready-to-launch e-commerce web app.
But what if you want to build a completely different website? Well, no problem! I designed the course curriculum precisely to enable you to design and develop any website you can think of, not just copy the course project.
This course is:
For those who want to learn to build an e-commerce website by using the up-to-date version of Shopify Hydrogen.
Who wants to move their Shopify Liquid Storefront to a modern React App with Shopify Hydrogen.
The Shopify Hydrogen & GraphQL Storefront API Development [2024] teaches you how to use GraphQL and Storefront API.
That can help you get an e-commerce job quickly or improve your app's abilities.
So, to become a confident and independent Shopify Hydrogen developer capable of building your websites in the future, you will learn the following:
The fundamentals of modern Shopify App Development
Creating a campaign (BOGO - Buy One Get One)
Storefront API Usage
Use of Shopify Admin Panel
Publishing Your Storefront App
Does this sound like fun? Then join me and start building e-commerce apps today!
Or are you not sold yet and need to know more? No problem, keep reading...
[01] Why should you learn Shopify Hydrogen in the first place?
Developers can craft fully tailored websites, gaining access to controllers and models. This facilitates the implementation of intricate logic and the execution of third-party service requests. An advantageous aspect of Hydrogen lies in its non-restrictive code coupling to the Shopify platform. This unique feature empowers businesses with the flexibility to transition between platforms without the need to commence development anew.
Advantages:
High performance, beneficial for SEO optimization.
Offers extensive customization options.
Seamless transition without the need for a complete migration.
Key Features:
Enhanced Flexibility: Hydrogen empowers developers to construct diverse websites, including single-page and progressive web applications. Additionally, it facilitates unit testing, supports custom URLs, and exhibits superior performance compared to Liquid.
Optimized Performance: Hydrogen is finely tuned for optimal performance, efficiently handling substantial traffic volumes. Stores developed with Hydrogen stand to benefit from quicker loading times and enhanced responsiveness.
Robust Error Handling: Hydrogen introduces advanced error handling and debugging capabilities, streamlining the process of identifying and resolving issues within your store.
Improved Developer Experience: Hydrogen is intentionally designed to be more user-friendly and accessible to learn than Liquid. This improved developer experience contributes to Shopify stores' seamless construction and maintenance.
[02] This course is for you if...
... you are a complete beginner with Shopify, with no idea how to build an e-commerce app.
... you already know a bit of React.
So, does all of this sound great? Then join me and start your Shopify development journey today