{% extends '@DcSite/Peugeot/template.html.twig' %}
{% block head %}
<title>{{ 'basket.title'|trans({}, 'dc_base') }}</title>
<meta name="description" content="" />
<meta name="robots" content="noindex, nofollow" />
<link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/dcsite/peugeot/css/peugeotBasket.css?{{ VERSION }}">
{% endblock %}
{% block ogtagDynamic %}
<meta property="og:title" content="{{ 'basket.title'|trans({}, 'dc_base') }}"/>
{% endblock ogtagDynamic %}
{% block content %}
<section class="breadcrumbs__new">
<div class="container">
<ol class="global_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="marker__none" itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<a itemprop="item" href="{{ path('peugeot_homepage') }}">
<span class="breadcrumbs__link" itemprop="name">Peugeot</span></a>
<meta itemprop="position" content="1"/>
</li>
<div class="arrow-bcs"> ❯ </div>
<li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
itemtype="https://schema.org/ListItem">
<span style="color: #ABABAB;" class="breadcrumbs__link" itemprop="name">{{ 'basket.title'|trans({}, 'dc_base') }}</span>
<meta itemprop="position" content="2"/>
</li>
</ol>
</div>
</section>
<div class="pt-5">
{% include '@DcSite/Modules/basket/basket_v2.html.twig' %}
</div>
{% endblock %}
{% block script %}
<script src="/dist/{{ MODE }}/dcsite/peugeot/js/peugeotBasket.js?{{ VERSION }}"></script>
<script>
$(() => {
window.app.basket = initBasketWidget({
dealerId: {{ dealerId }},
locale: '{{ app.request.locale }}',
userId: '{{ app.user ? app.user.id : null}}',
initUrl: '{{ path('my_basket_init') }}',
type: '{{ type }}',
profileBasketUrl: '{{ path('my_basket') }}',
addAccessoryToBasketUrl: '{{ path('my_basket_add_accessory') }}',
changeCountAccessoryUrl: '{{ path('my_basket_change_count') }}',
removeItemUrl: '{{ path('my_basket_remove_item') }}',
toggleInstallUrl: '{{ path('my_basket_toggle_install') }}',
shopCatalogUrl: '{{ path('peugeot_service_accessory_catalog') }}',
checkoutOrderUrl: '{{ path('peugeot_basket_checkout_order', {type: 1}) }}',
brand: '{{ dealer.brand }}',
});
});
</script>
{% endblock %}