File tree Expand file tree Collapse file tree
src/Resources/views/Admin/Order/Show Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717<tr >
1818 <td class =" single line" >
1919 {% include ' @SyliusAdmin/Product/_info.html.twig' %}
20-
21- {{ bitbag_render_product_bundle_order_items(item ) }}
2220 </td >
2321 <td class =" right aligned unit-price" >
2422 {{ money.format (item .unitPrice , order .currencyCode ) }}
5048 {{ money.format (item .total , order .currencyCode ) }}
5149 </td >
5250</tr >
51+ {% if product .bundle %}
52+ <tr >
53+ <td colspan =" 9" >
54+ {{ bitbag_render_product_bundle_order_items(item ) }}
55+ </td >
56+ </tr >
57+ {% endif %}
Original file line number Diff line number Diff line change 1- <h3 >{{ ' bitbag_sylius_product_bundle.ui.products_in_bundle' | trans }}</h3 >
21
3- {% for item in items %}
4- {% set variant = item .productVariant %}
5- {% set product = variant .product %}
2+ <div class =" ui accordion" >
3+ <div class =" title" >
4+ <i class =" dropdown icon" ></i > <strong >{{ ' bitbag_sylius_product_bundle.ui.products_in_bundle' | trans }}</strong >
5+ </div >
6+
7+ <div class =" content" >
8+ {% for item in items %}
9+ {% set variant = item .productVariant %}
10+ {% set product = variant .product %}
611
712 <div class =" ui segment" >
813 <div class =" ui header" >
3035 </div >
3136 {% endif %}
3237
33- <p >{{ ' bitbag_sylius_product_bundle.ui.quantity' | trans }}: {{ item .quantity }}</p >
38+ <p >{{ ' bitbag_sylius_product_bundle.ui.quantity' | trans }}: {{ item .quantity }}</p >
39+ </div >
40+ {% endfor %}
3441 </div >
35- {% endfor %}
42+ </ div >
You can’t perform that action at this time.
0 commit comments