Thread: most viewed

Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default most viewed

    Is there a box (or mod) to show most viewed products, related to the same category?

  2. #2
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: most viewed

    Is there a box (or mod) to show most viewed products, related to the same category of product that I'm seeing?

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: most viewed


  4. #4
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: most viewed

    it's a wonderful mod, but it show only last viewed item during browsing shop; instead i would mod that show most viewed item related to categories of item I'm seeing.
    As stats_products_viewed in admin.

  5. #5
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: most viewed

    You can search in downloads/Free software addons...
    link top of this page.. dont see one myself that meets your exact requirements so you can advertise in Commercial section
    for zencart coder to create one..

  6. #6
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Idea or Suggestion Re: most viewed

    I've just created a query like this:
    PHP Code:
    $most_view_query "select distinct p.products_id, p.products_image, pd.products_name, pd.products_viewed, p.products_price, p.products_ordered

                  from " 
    TABLE_PRODUCTS " p, " TABLE_PRODUCTS_DESCRIPTION " pd, "

                      
    TABLE_PRODUCTS_TO_CATEGORIES " p2c, " TABLE_CATEGORIES " c

                  where p.products_status = '1'

                                and p.products_id = pd.products_id

                  and pd.language_id = '" 
    . (int)$_SESSION['languages_id'] . "'

                  and p.products_id = p2c.products_id

                  and p2c.categories_id = c.categories_id

                  and '" 
    . (int)$current_category_id "' in (c.categories_id, c.parent_id)

                  order by pd.products_viewed desc

                  limit " 
    MAX_DISPLAY_BESTSELLERS;




       
    $most_view $db->Execute($most_view_query); 
    but no products show in box
    Why? thanks for help

 

 

Similar Threads

  1. Recently Viewed indicator while shopping?
    By vinnyna in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 16 Dec 2011, 02:24 PM
  2. Most Viewed Pages...?
    By gaffettape in forum General Questions
    Replies: 0
    Last Post: 30 Jul 2010, 07:09 PM
  3. Customer who viewed, also viewed
    By CompuWeb in forum General Questions
    Replies: 5
    Last Post: 30 Mar 2010, 05:50 PM
  4. 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

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