Section rendering
- Add
?section_id=<id>to any storefront URL to get the HTML of that section. - Add
?sections=<id>,<id>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,collectionandcart. - Use the section ids from the template, or the file name of a section that you render with the section tag.
See 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.