mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[Shop] Few improvement on cart index
This commit is contained in:
parent
0aaca6dfc9
commit
64bf418dc0
1 changed files with 2 additions and 3 deletions
|
|
@ -1,10 +1,9 @@
|
|||
{% extends '@SyliusShop/shared/layout/base.html.twig' %}
|
||||
|
||||
{% set cart_hook = 'sylius_shop.cart.index' %}
|
||||
{% set prefixes = [cart_hook] %}
|
||||
{% set prefixes = ['sylius_shop.cart'] %}
|
||||
|
||||
{% block title %}{{ 'sylius.ui.your_shopping_cart'|trans }} | {{ parent() }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% hook cart_hook with { cart, form } %}
|
||||
{% hook 'index' with { _prefixes: prefixes, cart, form } %}
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue