Pages
Desing with Twig Hooks
Use the sylius_cms.shop:render:page_link
component and pass the following props:
code
(string, required) The unique identifier of the collection you want to render.
You can use the template option, but you’ll be fully responsible for rendering the page:
Design directly in Twig Template
Render the page link
You can override the name by passing the appropriate option:
Render only the bare URL
Render entire page embedded
You can render the entire page at a low level by using the generic route and passing the page slug as a parameter:
Last updated
Was this helpful?