[`Products in shopping carts`]

{if $data.carts}
{foreach $data.carts as $cart} {/foreach}
[`Left`] [`Items`] [`Total`] [`Cart`]1 [`Checkout`]2
[`Contact info`]3 [`Shipping`] [`Payment`] [`Confirmation`]
{$cart.edit_datetime|wa_date:'humandatetime'} {$subtotal = 0} {$currency = ''} {foreach $cart.items as $item} {/foreach}
{$wa->shop->productImgHtml($item.product, "48x48")} {$item.quantity} × {$item.product.name|escape} {ifempty($item.sku_name)|escape} {if !empty($item.sku_code)}{$item.sku_code|escape}{/if} {$subtotal = $subtotal + $item.price * $item.quantity} {$currency = $item.currency} {if !empty($item.services)} {foreach $item.services as $service} {if !empty($service.id)}
+ {$service.name} {if !empty($service.variants) && $service.variant_id} ({$service.variants[$service.variant_id].name}) {/if} {/if} {/foreach} {/if}
{shop_currency_html($subtotal, $currency)}
{wa_pagination total=$pages_total attrs=['class' => 'menu-h']}

1. [`The customer visited shopping cart page.`]

2. [`The customer visited checkout page.`]

3. {if $carts_plugin}[`Check Abandoned carts report for more details`] {else}{sprintf('[`You can return at some of this customers with Abandoned carts plugin!`]', '[`https://www.webasyst.com/store/plugin/shop/carts/`]')}{/if}

{else}

[`No data matched selected period`].

{/if}


{sprintf('[`Report generated at %f ms`]', $generated)}