{$wa->globals("hideCart", true)} {if !$cart.count}

[`Shopping cart`]

[`Your shopping cart is empty.`]

{else}

[`Shopping cart`]

{foreach $cart.items as $item}
{$item.product.name|escape} {if isset($item.sku_name) && strlen($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)} {else} {/if}
{/foreach}
{/if} {if $theme_settings.cart_crossselling == 'many'} {if $item@index < 3} {$_exclude_ids = []} {foreach $cart.items as $item}{$_exclude_ids[] = $item.product.id}{/foreach} {$related = $wa->shop->crossSelling($item.product.id, 5, true, $_exclude_ids)} {if $related}
 
{/if} {/if} {/if}
{if !empty($item.error)}{/if} {/foreach}
{if shopDiscounts::isEnabled('coupons')}
[`Coupon code`]: {if $coupon_code && empty($coupon_discount) && empty($coupon_free_shipping)}
[`Invalid coupon code`]
{/if}
{/if}
[`Discount`]
− {shop_currency_html($discount, true)}
{if shopAffiliate::isEnabled() && $affiliate_bonus > 0}
{sprintf( _w('You have %s bonus point! You can use it to get an additional discount of up to %s.', 'You have %s bonus points! You can use some of them to get an additional discount of up to %s.', $affiliate_bonus, false), "{$affiliate_bonus}", "{shop_currency_html($potential_affiliate_discount, $wa->shop->currency())}" )} {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`]
{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}