|
|||
|
Hallo,
ich möchte die Statistik "Besuchte Artikel" auf null setzen. Alle hier erwähnten Maßnahmen wie update `products` set products_ordered="0" where products_ordered <>"0"; oder UPDATE `products_description` SET `products_viewed`=0; UPDATE `products` SET `products_ordered`=0 funktionieren nicht. Gruß Robbie |
|
|||
|
So sei es:
Datei: admin/start.php füge an gewünschter stelle ein: <!-- modul from self-commerce.de --> <?php echo '<br /><a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_START, '&action=set_null', 'NONSSL') . '"> '.xtc_image(DIR_WS_IMAGES.'icon_reset.gif ').' Besuchte Artikel</a> <a class="button" onClick="this.blur();" href="' . xtc_href_link(FILENAME_START, '&action=set_null1', 'NONSSL') . '"> '.xtc_image(DIR_WS_IMAGES.'icon_reset.gif ').' Gekaufte Artikel</a>'; if ($_GET['action']) { switch ($_GET['action']) { case 'set_null': // besuchte zurücksetzen xtDBquery('UPDATE '.TABLE_PRODUCTS_DESCRIPTION.' SET products_viewed=0'); echo 'Besuchte Artikel auf 0 gesetzt.' ; break; case 'set_null1': // gekaufte zurücksetzen xtDBquery('UPDATE '.TABLE_PRODUCTS.' SET products_ordered=0'); echo 'Gekaufte Artikel auf 0 gesetzt.' ; break; } }else{ echo 'Bitte Auswahl treffen'; } ?> <!-- modul from self-commerce.de --> |
![]() |
| Lesezeichen |
| Stichworte |
| artikel, besuchte, statistik, zurücksetzen |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Besuchte Artikel auf Null zurücksetzen | pstgermany | Installation und Konfiguration | 5 | 23.10.2009 10:32 |
| Statistik Besuchte Artikel | Blitzpilot | Installation und Konfiguration | 2 | 21.01.2008 20:48 |
| Besuchte Artikel - mehr als 20 pro Seite | pstgermany | Shopbereich | 2 | 27.11.2006 18:06 |
| Statistik Besuchte Artikel | bitsecure | Admininterface | 0 | 16.02.2005 17:54 |