{if $smarty.session.cart.amount}
{if $block.properties.display_bottom_buttons == "Y"}
{/if}
-
{hook name="index:cart_status"}
{assign var="_cart_products" value=$smarty.session.cart.products|array_reverse:true}
{foreach from=$_cart_products key="key" item="product" name="cart_products"}
{hook name="checkout:minicart_product"}
{if !$product.extra.parent}
-
{hook name="checkout:minicart_product_info"}
{if $block.properties.products_links_type == "thumb"}
{include file="common/image.tpl" image_width="40" image_height="40" images=$product.main_pair no_ids=true}{/if}{$product.product_id|fn_get_product_name nofilter}{if $block.properties.display_delete_icons == "Y"}
{$product.amount} x {include file="common/price.tpl" value=$product.display_price span_id="price_`$key`_`$dropdown_id`" class="none"}
{if (!$runtime.checkout || $force_items_deletion) && !$product.extra.exclude_from_calculate} {include file="buttons/button.tpl" but_href="checkout.delete.from_status?cart_id=`$key`&redirect_url=`$r_url`" but_meta="cm-ajax cm-ajax-full-render" but_target_id="cart_status*" but_role="delete" but_name="delete_cart_item"} {/if}{/if} {/hook}
{/if}
{/hook}
{/foreach}
{/hook}
{__("cart_is_empty")}
{/if}