42 lines
1.3 KiB
Smarty
42 lines
1.3 KiB
Smarty
{* upravený fallback *}
|
|
{extends_parent}
|
|
|
|
{block "cart-header"}
|
|
{ifmodule ORDER_DISCOUNT}
|
|
{insert_discounts_actions cart=$body type='full' new_structure=true assign='discountsActions'}
|
|
{/ifmodule}
|
|
{/block}
|
|
|
|
{block "cart-title"}
|
|
{if $body.products|count > 0}
|
|
<h1 data-reload="cart-title">{$view->getTitle()}<span class="count"><span data-reload="cart-pieces-header">({$body.totalPieces})</span></span></h1>
|
|
{/if}
|
|
{/block}
|
|
|
|
{block "shipping-progress"}{/block}
|
|
|
|
{block "sidebar-pricebox" append}
|
|
<div class="summary-sidebar-shipping-progress" data-reload="shipping-bar">
|
|
{include "components/shipping-progress.tpl" cartPrice=$body->getTotalPriceForDelivery()->getPriceWithVat(false)}
|
|
|
|
{block "custom-content"}
|
|
{/block}
|
|
|
|
<div class="order-badges">
|
|
{if $body->getAvailability() == 1}
|
|
{get_delivery_dates purchaseState=$body->getPurchaseState() assign='deliveries'}
|
|
{if $deliveries.min.delivery}
|
|
<p><span class="fc icons_calendar"></span>{t date=$deliveries.min.delivery|format_date_locale_pretty:'d. L.':null:true escape=false}Můžete mít již <strong>{date}</strong>{/t}</p>
|
|
{/if}
|
|
{/if}
|
|
|
|
{ifmodule BONUS_PROGRAM}
|
|
{include "bonus-program/bonus-program-cart.tpl"}
|
|
{/ifmodule}
|
|
</div>
|
|
</div>
|
|
{/block}
|
|
|
|
{block "cart-also_bought"}
|
|
{/block}
|