Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Jan 2009
    Posts
    73
    Plugin Contributions
    0

    Default Most-Viewed Products - Reports

    www.jaysmodelkits.com ZC-v1.5.7d

    Okay, so I wanted to use the Most-Viewed Products report tool today and I see it has been "improved" and that it now has a date range facility.
    That's cool. It's default is a one month period from the current day and 30 days prior. The problem comes when you attempt to alter the dates. The new date settings only remain for the first page of results then when you click on page two they revert back to the default of one month.
    Is this a known problem? I thought it may have been a problem with Safari (Mac) as it does have a habit of throwing up some odd issues, but I tried it in Firefox and found the same problem.
    Cheers, John.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Most-Viewed Products - Reports

    pretty sure this is fixed in 1.5.8.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Most-Viewed Products - Reports

    I was unable to test the 1.5.8 fix on my test site as it did not have enough product views to generate a second page.

    I placed the file on the OP's site and the dates do remain as selected. There are some PHP warnings of undefined items and the date selection appears to be in Chinese but dates can be selected manually and produce the desired results so this temporary workaround is useful.

    I'll try to smooth things out and post a corrected file for 1.5.7# when I can.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Most-Viewed Products - Reports

    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,586
    Plugin Contributions
    30

    Default Re: Most-Viewed Products - Reports

    I tried it in 158, it carried the dates through the pages.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Most-Viewed Products - Reports

    Did the drop-down turn to Chinese?

  7. #7
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    257
    Plugin Contributions
    6

    Default Re: Most-Viewed Products - Reports

    If it helps:
    on zc158 with PHP 8.0 or PHP 8.1 the start date defaults to the first day of the current year. The dates selected are carried through on all subsequent pages when using "Next" to select a page or using the drop down page number list. Either date can be selected and changed. No errors reported.

    Zen Cart 158 Alpha PHP 8.1.7

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Most-Viewed Products - Reports

    Fix:
    a) copy admin/stats_products_viewed.php from 158
    b) Update language file admin/includes/languages/english/stats_products_viewed.php - add these defines at the bottom:

    define('TABLE_HEADING_PRODUCTS_ID', 'ID#');
    define('TABLE_HEADING_PRODUCTS_NAME','Name');
    Last edited by swguy; 11 Sep 2022 at 11:17 PM.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Most-Viewed Products - Reports

    Quote Originally Posted by swguy View Post
    Fix:
    a) copy admin/stats_products_viewed.php from 158
    b) Update language file ???/includes/languages/english/stats_products_viewed.php - add these defines at the bottom:

    define('TABLE_HEADING_PRODUCTS_ID', 'ID#');
    define('TABLE_HEADING_PRODUCTS_NAME','Name');
    Should that not be YOUR_ADMIN?

    BTW, I still get Chinese(?) in the drop-down date selector

  10. #10
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Most-Viewed Products - Reports

    Yes, the language file path starts with admin.

    No idea on the Chinese issue.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v157 Reports / Products Viewed
    By johns4y in forum General Questions
    Replies: 1
    Last Post: 7 Apr 2021, 09:45 AM
  2. Most Viewed Pages...?
    By gaffettape in forum General Questions
    Replies: 0
    Last Post: 30 Jul 2010, 07:09 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. most viewed
    By 100asa in forum Addon Sideboxes
    Replies: 5
    Last Post: 15 Sep 2008, 03:16 PM
  5. Reports Products viewed - What file to edit?
    By crosswraith in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Oct 2007, 04:07 PM

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