shacker Posted November 4, 2011 Share Posted November 4, 2011 Questo modulo consente di vedere le colonne o nel piè di pagina, il totale ordini / clienti / prodotti / voucher / categorie del tuo negozio. È possibile abilitare o disabilitare la visivilidad di elementi dalla configurazione del modulo. http://catalogo-onlinersi.com.ar/it/290-front-stats-prestashop-module.html 1 Link to comment Share on other sites More sharing options...
Ricsca Posted November 6, 2011 Share Posted November 6, 2011 Bel modulo per shop grandi Link to comment Share on other sites More sharing options...
shacker Posted November 7, 2011 Author Share Posted November 7, 2011 grazie!! Link to comment Share on other sites More sharing options...
shacker Posted March 12, 2012 Author Share Posted March 12, 2012 v1.1 - compatible with PS 1.5 Link to comment Share on other sites More sharing options...
Dead2010 Posted May 4, 2013 Share Posted May 4, 2013 hello, good module, here I leave the translation into Portuguese, translated in prestashop version 1.4.10. I hope you enjoy. greetings Link to comment Share on other sites More sharing options...
shacker Posted May 4, 2013 Author Share Posted May 4, 2013 thanks!! Link to comment Share on other sites More sharing options...
desactivado Posted June 2, 2015 Share Posted June 2, 2015 Hi, RSI you can modify this module or send to me frontstats.php modified? I need last costumer and last order and not "total" because i delete orders and costumer in the time an lost stadistics I try modifi code but not work .... Hola; Podria modificar el modulo o mandarme la modificacion del archivo frontstats.php en base a lo siguiente? El modulo muestra el numero de registro totales pero los eliminados no los cuenta. Entonces no me muestra datos reales. Con el tiempo la ley española me obliga tanto a eliminar pedidos como a eliminar datos de clientes y no quiero perder esas estadisticas. Creo que lo mejor seria mostrar directamente la id del ultimo pedido y del ultimo cliente. Lo tengo instalado aqui: http://goo.gl/y9glwK Gracias. Mi ingles es muy malo y en el de castellano no me dejaba escribir. Link to comment Share on other sites More sharing options...
shacker Posted June 2, 2015 Author Share Posted June 2, 2015 para que necesitas mostrar el ultimo? Link to comment Share on other sites More sharing options...
desactivado Posted June 2, 2015 Share Posted June 2, 2015 (edited) Porque si en vez de sumar las columnas muestra unicamente el ultimo id hace lo mismo .... y da igual los clientes o pedidos que borres anteriores. Es decir .... si voy por el cliente 3200, pero los primeros 2000 ya expiraron el contrato los tengo que borrar. Entonces a pesar de tener 3 años la tienda como solo suma las columnas dira que en 3 años tengo 1200 clientes. Que tienda tiene 1200 clientes en 3 años?? no da la sensacion de veterania que busco. SOLUCIONADO - SOLVE code: $sorgudcu = mysql_query("SELECT MAX(id_customer) FROM `"._DB_PREFIX_."customer` WHERE `active` = 1");if ($veridcu = mysql_fetch_row($sorgudcu)) {$totalcus = trim($veridcu[0]);}$sorgudco = mysql_query("SELECT MAX(id_order) FROM `"._DB_PREFIX_."orders`");if ($veridco = mysql_fetch_row($sorgudco)) {$totalord = trim($veridco[0]);} Thanks - Gracias Edited June 5, 2015 by Grudes (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted June 5, 2015 Author Share Posted June 5, 2015 (edited) ok, gracias por el post Edited June 5, 2015 by shacker (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now