{if !$cart.count}

[`Shopping cart`]

[`Your shopping cart is empty.`]

{else}

[`Shopping cart`]

{foreach $cart.items as $item}
{$item.product.name|escape} {if $item.sku_name && $item.sku_name != $item.product.name}{$item.sku_name|escape}{/if}
×
{shop_currency_html($item.full_price, true)}
{if !empty($item.services)}
 
{foreach $item.services as $service_id => $s}
{if isset($s.variants)} {/if}
{/foreach}
{/if} {if $theme_settings.cart_crossselling == 'many'} {if $item@index < 3} {$related = $wa->shop->crossSelling($item.product.id)} {if $related}
 
{/if} {/if} {/if}
{if !empty($item.error)}{/if} {/foreach}
{if shopDiscounts::isEnabled('coupons')}
[`Coupon code`]:
{/if}
[`Discount`]
− {shop_currency_html($discount, true)}
{if shopAffiliate::isEnabled() && $affiliate_bonus > 0}
{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} [`Don’t use bonus discount`] {else} {/if}
− {if $use_affiliate}{shop_currency_html(shopAffiliate::convertBonus($used_affiliate_bonus))}{else}0{/if}
 
{/if}
[`Total`] {if shopDiscounts::isEnabled('coupons') && !$coupon_code}[`I have a coupon!`]{/if}
{shop_currency_html($cart.total, true)}
 
{if shopAffiliate::isEnabled() && !empty($add_affiliate_bonus)}

{sprintf("[`This order will add +%s bonuses to your account, which you will be able to spend on getting additional discounts later.`]", $add_affiliate_bonus)}

{/if}
{$related = $wa->shop->crossSelling($cart.items, 'product_id')} {if $theme_settings.cart_crossselling == 'common' && $related}
{/if}
{* @event frontend_cart.%plugin_id% *} {foreach $frontend_cart as $_}{$_}{/foreach}
{/if}