Is there anyway to make the counter history of new customers more than 10?
I'd like to keep a history of a month or so. Does anyone know how to do this? Is it possible?
Is there anyway to make the counter history of new customers more than 10?
I'd like to keep a history of a month or so. Does anyone know how to do this? Is it possible?
The history is kept in perpetuity. In your Admin area, only the last 10 days are displayed.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I remember reading a thread here before though that you could write some code and make it display more.
There's no way to make this possible???![]()
Edit /admin/includes/index.php
Around line 146 change the LIMIT 10 (at the end of the line) to whatever number you desire, such as LIMIT 30.
Beware that the higher the number, the more the impact it will have on the size of your admin home page.
Code:$counter_query = "select startdate, counter, session_counter from " . TABLE_COUNTER_HISTORY . " order by startdate DESC limit 10";
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks Dr. Byte!! I'll try this out and get back with you.![]()