[`Checkout funnel`]

[`Checkout funnel report shows how many customers abandon their orders during the checkout process based on unique shopping cart sessions.`]
[`This report is generated only for storefronts with multi-step checkout.`]

{$maxSteps = count($stat)} {$current_step = 0} {foreach $stat as $key => $val name=flow} {$current_step = $current_step + 1} {$percent = 0.15 + ($current_step/$maxSteps)*0.85} {$width = 25 + $val['percents']/1.3333} {/foreach}
{$val['name']}
{_w('%d customer','%d customers', $val['count'])}
{if !empty($stat[$key+1])} {$_change = $val['count']-$stat[$key+1]['count']} {sprintf('[`%d visitors abandoned`]', $_change)} {else if $key + 1 == count($stat)} [`The goal!`] {/if}
{round($val['percents'])}%
{if $checkout_flow_changed}

{sprintf(_w('Checkout process settings were altered on %s. This report is based on data collected both before and after this change and thus may be unrepresentative.'), wa_date('humandatetime', $checkout_flow_changed))} [`Start over`] [`Dismiss`]

{/if}

[`Multi-step checkout storefronts`]

{foreach $storefronts as $storefront} {/foreach}
{$storefront.url_decoded}
{* dialog section *}

[`Reset checkout funnel`]

[`Entire checkout funnel report data will be erased without the ability to restore.`]

{$wa->csrf()} [`or`] [`cancel`]