Skip to main content

♻️ Section Rendering API

  1. What is the “Section Rendering API”?

  2. Give an example of where the Section Rendering API can be used.

  3. What is “Bundled section rendering”?

    • Create a simple example.
  4. What is the maximum number of sections that can be retrieved from a single API request?

  5. How can you retrieve a section using a fetch request in the context of an exact page? Provide an example.

  6. What are the two ways to find a section ID for the Section Rendering API, and what are the differences between these two methods?

  7. What is the difference between the "sections" URL parameter and the "section_id" URL parameter in a rendering query?

  8. What is the performance impact of using the Section Rendering API? How can it affect page load times, and what best practices should be followed to minimize these effects?

🎖️Task:

Use the Dawn theme to complete the following:

🤹  Develop a section that displays product cards from a collection selected via the Customizer in the section settings.
❗ This section should update each time an item is added to the cart, utilizing the Section Rendering API.
❗If any product in this listing is already in the cart, it should be hidden from view in that section.