ordersStatistics Compteur

stephano6

No avatar

2007-11-09 17:05

hello,

how to reconfigure the meter zero for ordersStatistics ?
please

Thank you

( sorry for my English / Babel Fish ) :-)

» Quick.Cart v1.x

Steph

merci

No avatar

2007-11-12 09:04

stephano6 - can you describe it more clearly, as I don't understand what you want to do.

eauman

No avatar

2007-11-15 07:35

I think he is asking how you reset the order statistics to zero, which is something I would like to know following my testing.

Thanks

EauMan

merci

No avatar

2007-11-15 09:15

stephano6, eauman - this plugin works on all orders saved in database, it doesn't have own database file, so you can't just reset it. If you delete all orders from your database, the statistics will be set for zero.

stephano6

No avatar

2007-11-15 18:52

Ok MERCI merci :-)

(sorry for the delay)

steph2switzerland

eauman

No avatar

2007-11-16 05:56

Thanks for the reply, however I have deleted all orders in the admin -> orders section & there are none remaining of any status, however i still have data under order -> statistics for the products I purchased during testing ??

I am using 1.4 FAT

EauMan

eauman

No avatar

2007-11-16 06:31

Hi again, I'm no PHP expert but I had a good look round & can't find where the data is being held, but I think I found the line sending out the statistics to the order -> statistics page. Can anyone tell me exactly where this is getting statistic data from so I can reset it ?? Thanks

The file is templates\admin\orderStatistics\statistics_list.tpl & I think the relevant lines are:

<!-- BEGIN LIST_LIST -->
<tr class="listbody_$aList[iStyle]">
<td>
<a href="index.php?p=productsMore&amp;iProduct=$aList[pid]">$aList[pname]</a>
</td>
<td>
$aList[pprice]
</td>
<td>
<div style="
margin-left:10px;
border: 1px solid #808080;
width:$aList[pbarwidth]px;
height:20px;
background-image:url('templates/admin/orderStatistics/bar3-H20.png') "
title="
$aList[ppercent]%
"
/></div>
</td>
</tr>
<!-- END LIST_LIST -->

EauMan

merci

No avatar

2007-11-16 09:39

eauman - you have to delete content of file db/orders_products.php, it should looks like:

<?php exit; ?>

In statistics page in admin, you will see two rows of errors, but after first products added to basket it will disappear.

eauman

No avatar

2007-11-18 21:10

Thanks, will give that a go..

EauMan

Back to top
about us | contact