Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Products Viewed Counter

    Zen Cart 1.5.7b
    PHP7.4x

    While updating my code for displaying product viewed and modifying my product status page in admin I have for auctions, I found an interesting question. The count_product_view table is a growing table without a way to empty it! There is a method in admin store manager, but it's commented out... Wondering if that got missed or did I miss something..
    Dave
    Always forward thinking... Lost my mind!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Products Viewed Counter

    There weren't any plans to empty it.

    The old report "cleared" the counters because that was the only way to ever get an indication of counts/activity over time: print the report and clear it to zero, then print again later to see what the difference was.

    Now you have access to all activity without needing to reset.
    .

    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.

 

 

Similar Threads

  1. Products Viewed info
    By JS1scuba in forum General Questions
    Replies: 1
    Last Post: 30 Jan 2011, 10:45 PM
  2. Customer who viewed, also viewed
    By CompuWeb in forum General Questions
    Replies: 5
    Last Post: 30 Mar 2010, 05:50 PM
  3. People who viewed this also viewed For Zen Cart?
    By CoolCarPartsOnline in forum General Questions
    Replies: 3
    Last Post: 26 May 2009, 02:04 AM
  4. Products Viewed Report not showing all products
    By Dazza33 in forum General Questions
    Replies: 0
    Last Post: 11 Jul 2007, 03:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR