{if !empty($settings.is_dadata)} {/if} {if !empty($settings.sticky)} {/if} {if !$cart.count}

[`Your shopping cart is empty.`]

{else}
{if $settings.mode != 'only_checkout'}
{foreach $cart.items as $item} {/foreach} {if shopAffiliate::isEnabled() && $affiliate_bonus > 0} {/if} {if shopAffiliate::isEnabled() && !empty($add_affiliate_bonus)} {/if}
{if !empty($item.product.image_id)} {$wa->shop->productImgHtml($item.product, '48x48', ['itemprop' => 'image', 'alt' => $item.name])} {else} {/if} {$item.product.name|escape} {if $item.sku_name && $item.sku_name != $item.product.name} {$item.sku_name|escape} {/if}

{if !empty($item.services)}
{foreach $item.services as $service_id => $s}
{if isset($s.variants)} {/if}
{/foreach}
{/if} {if !empty($item.error)} {/if}
+- {shop_currency_html($item.full_price, true)}
{if shopDiscounts::isEnabled('coupons')} [`Discount coupon (if you have one)`]: {/if} [`Discount`] − {shop_currency_html($discount, true)}  
{sprintf('[`Your current affiliate bonus of %s points allows you to get an additonal discount of up to %s`]', $affiliate_bonus, shop_currency_html(shopAffiliate::convertBonus($affiliate_bonus)))} {if $use_affiliate} [`Cancel`] {else} {/if} − {if $use_affiliate}{shop_currency_html(shopAffiliate::convertBonus($used_affiliate_bonus))}{else}0{/if}  
[`Total`] {shop_currency_html($cart.total, true)}  
{sprintf("[`This order will add +%s points to your affiliate bonus.`]", $add_affiliate_bonus)}  
{* @event frontend_cart.%plugin_id% *} {foreach $frontend_cart as $_} {$_} {/foreach}
{/if} {include file=$checkout_path}
{/if}