--- url: https://docs.youcan.shop/changelog/section-rendering.md --- You can get one or more sections of a storefront page without the rest of the page, with `section_id` and `sections`. *** # Section rendering * Add `?section_id=` to any storefront URL to get the HTML of that section. * Add `?sections=,` to get a JSON object with the HTML of up to 5 sections. * Sections are rendered with the objects of the page, such as `product`, `collection` and `cart`. * Use the section ids from the template, or the file name of a section that you render with the section tag. See [Section rendering](/themes/sections/section-rendering). # Status codes * For a collection or page URL that does not exist, the 404 page is now sent with a 404 status. Before, the status was 200. * If a layout or a template has a Liquid error, or a template file is missing, the error is sent with a 500 status. * If a page fails because of an internal error, the 404 page is sent with a 500 status.