{% import '@SyliusAdmin/Macro/breadcrumb.html.twig' as breadcrumb %}

{% set breadcrumbs = [
    { label: 'sylius.ui.administration'|trans, url: path('sylius_admin_dashboard') },
    { label: 'sylius.ui.products'|trans, url: path('sylius_admin_product_index') },
    { label: product.code }
] %}

{{ breadcrumb.crumble(breadcrumbs) }}

{% import '@SyliusAdmin/Macro/breadcrumb.html.twig' as breadcrumb %}

{% set breadcrumbs = [
    { label: 'sylius.ui.administration'|trans, url: path('sylius_admin_dashboard') },
    { label: 'sylius.ui.products'|trans, url: path('sylius_admin_product_index') },
    { label: resource.name|default(resource.code|default(resource.id)) }
] %}

{{ breadcrumb.crumble(breadcrumbs) }}

Unify product crumb in both show and update page
[Product][Admin] Unify product crumb in both show and update page
