line |
true |
false |
branch |
121
|
7 |
0 |
if ($self->default_routes) |
130
|
0 |
2 |
if (-e $self->app->config->{'views'} . '/' . $template . '.tt') { } |
142
|
7 |
0 |
unless grep {$_ eq 'products';} @{$excluded_routes;} |
154
|
0 |
3 |
if (-e $self->app->config->{'views'} . '/' . $template . '.tt') { } |
166
|
0 |
3 |
if $ec_cart->{'add'}{'error'} |
170
|
7 |
0 |
unless grep {$_ eq 'cart';} @{$excluded_routes;} |
180
|
7 |
0 |
unless grep {$_ eq 'cart/add';} @{$excluded_routes;} |
191
|
7 |
0 |
unless grep {$_ eq 'cart/clear';} @{$excluded_routes;} |
201
|
0 |
1 |
if (-e $app->config->{'views'} . '/cart/' . $template . '.tt') { } |
213
|
0 |
1 |
if $ec_cart->{'shipping'}{'error'} |
217
|
7 |
0 |
unless grep {$_ eq 'cart/shipping';} @{$excluded_routes;} |
227
|
7 |
0 |
unless grep {$_ eq 'cart/shipping';} @{$excluded_routes;} |
237
|
0 |
1 |
if (-e $app->config->{'views'} . '/cart/' . $template . '.tt') { } |
250
|
0 |
1 |
if $ec_cart->{'billing'}{'error'} |
254
|
7 |
0 |
unless grep {$_ eq 'cart/billing';} @{$excluded_routes;} |
264
|
7 |
0 |
unless grep {$_ eq 'cart/billing';} @{$excluded_routes;} |
274
|
0 |
1 |
if (-e $app->config->{'views'} . '/cart/' . $template . '.tt') { } |
286
|
0 |
1 |
if $ec_cart->{'checkout'}{'error'} |
290
|
7 |
0 |
unless grep {$_ eq 'cart/review';} @{$excluded_routes;} |
300
|
7 |
0 |
unless grep {$_ eq 'cart/receipt';} @{$excluded_routes;} |
310
|
0 |
1 |
if (-e $app->config->{'views'} . '/cart/' . $template . '.tt') { } |
325
|
7 |
0 |
if not grep({$_ eq 'cart/receipt';} @{$excluded_routes;}) |
334
|
9 |
0 |
if ($self->product_list) |
348
|
0 |
11 |
unless $ec_cart->{'cart'}{'items'} |
350
|
4 |
3 |
if ($cart_product->{'ec_sku'} eq $product->{'ec_sku'}) |
353
|
1 |
3 |
if ($cart_product->{'ec_quantity'} <= 0) |
363
|
6 |
15 |
if ($product_item->{'ec_sku'} eq $product->{'ec_sku'}) |
381
|
7 |
39 |
unless $ec_cart->{'cart'}{'items'} |
400
|
1 |
0 |
if $item_quantity->{'ec_quantity'} |
417
|
29 |
6 |
if $item_subtotal->{'ec_subtotal'} |
451
|
0 |
3 |
if ($ec_cart->{'add'}{'error'}) { } |
459
|
0 |
3 |
if ($ec_cart->{'add'}{'error'}) { } |
487
|
1 |
1 |
if ($ec_cart->{'shipping'}{'error'}) { } |
494
|
0 |
1 |
if ($ec_cart->{'shipping'}{'error'}) |
512
|
0 |
1 |
if ($ec_cart->{'billing'}{'error'}) { } |
519
|
0 |
1 |
if ($ec_cart->{'billing'}{'error'}) |
534
|
0 |
1 |
if ($ec_cart->{'checkout'}{'error'}) { } |
540
|
0 |
1 |
if ($ec_cart->{'checkout'}{'error'}) { } |
553
|
0 |
1 |
unless @{$ec_cart->{'cart'}{'items'};} > 0 |