Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2011-05-23 14:38:42 +0400
committermattpiwik <matthieu.aubry@gmail.com>2011-05-23 14:38:42 +0400
commitb58e6168633d02d78b6a1705b071d075882ed36f (patch)
tree7e7026f24ad314cc39a3fbf05169dbca53df6c20 /plugins/Goals/templates/single_goal.tpl
parent3bc135bd9d68446733b54b6f9cab61681f9034a3 (diff)
Refs #898 - Improving Ecommerce report:
* Displaying Top Product SKU, Product Names and product categories * Displaying 5 ecommerce metric with sparklines * Displaying "Ecommerce orders logs" which is the Visitor Log segmented to show only ecommerce orders with products etc. * Displaying Sum of revenue, tax, shipping, discount etc. in the report git-svn-id: http://dev.piwik.org/svn/trunk@4786 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Goals/templates/single_goal.tpl')
-rw-r--r--plugins/Goals/templates/single_goal.tpl28
1 files changed, 18 insertions, 10 deletions
diff --git a/plugins/Goals/templates/single_goal.tpl b/plugins/Goals/templates/single_goal.tpl
index 362c47313e..50458b2520 100644
--- a/plugins/Goals/templates/single_goal.tpl
+++ b/plugins/Goals/templates/single_goal.tpl
@@ -1,17 +1,25 @@
<link rel="stylesheet" type="text/css" href="plugins/Goals/templates/goals.css" />
{include file="Goals/templates/title_and_evolution_graph.tpl"}
-<div class="clear"></div>
-{if $nb_conversions > 0}
- <h2>{'Goals_ConversionsOverview'|translate}</h2>
- <ul class="ulGoalTopElements">
- <li>{'Goals_BestCountries'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.country}</li>
- {if count($topDimensions.keyword)>0}<li>{'Goals_BestKeywords'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.keyword}</li>{/if}
- {if count($topDimensions.website)>0}<li>{'Goals_BestReferers'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.website}</li>{/if}
- <li>{'Goals_ReturningVisitorsConversionRateIs'|translate:"<b>$conversion_rate_returning</b>"}, {'Goals_NewVisitorsConversionRateIs'|translate:"<b>$conversion_rate_new</b>"}</li>
- </ul>
+ <div class="clear"></div>
+ {if $nb_conversions > 0}
+ <h2>{'Goals_ConversionsOverview'|translate}</h2>
+ <ul class="ulGoalTopElements">
+{if !$ecommerce}
+ <li>{'Goals_BestCountries'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.country}</li>
+ {if count($topDimensions.keyword)>0}<li>{'Goals_BestKeywords'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.keyword}</li>{/if}
+ {if count($topDimensions.website)>0}<li>{'Goals_BestReferers'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.website}</li>{/if}
+ <li>{'Goals_ReturningVisitorsConversionRateIs'|translate:"<b>$conversion_rate_returning</b>"}, {'Goals_NewVisitorsConversionRateIs'|translate:"<b>$conversion_rate_new</b>"}</li>
+{else}
+ <li>{'Live_GoalRevenue'|translate}: {$revenue|money:$idSite}
+ {if !empty($revenue_subtotal)}, {'General_Subtotal'|translate}: {$revenue_subtotal|money:$idSite}{/if}
+ {if !empty($revenue_tax)}, {'General_Tax'|translate}: {$revenue_tax|money:$idSite} {/if}
+ {if !empty($revenue_shipping)}, {'General_Shipping'|translate}: {$revenue_shipping|money:$idSite}{/if}
+ {if !empty($revenue_discount)}, {'General_Discount'|translate}: {$revenue_discount|money:$idSite}{/if}
+ </li>
{/if}
-
+ </ul>
+ {/if}
{literal}
<script type="text/javascript">