Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Recently Viewed Items - Customers Getting lost :o(

    Hi guys, I am running Recently Viewed Items and really love it, it defiantly helped my store, however, I've had it a long time and its only just occurred to me that in a lot of cases it must be very confusing for my customers. Let me explain.

    I have products that are linked to 2-3 categories due to the nature of the product, and i've found that if the user is viewing an item in a category the product is linked to then the recently viewed item is actually showing the master category that the product is in, resulting in the user ending up in the wrong category and potentially not finding their way back to the category they started in with other relevant products.

    Does anyone know if the code could be modified so that it makes the recently viewed item link to the product from the category it was last viewed in?

    i'm guessing its something to do with this part:
    PHP Code:
    'cPath=' $productsInCategory[$recent_products->fields['products_id']] . 
    rather than using the master category id would it work if I ran a check on the current category id and used that instead?

    Thanks in advance,

    Phil
    Phil Rogers
    A problem shared is a problem solved.

  2. #2
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Recently Viewed Items - Customers Getting lost :o(

    If its not possible, the only other thing I can think to do is if its possible to do a list of recently viewed categories along side the products?
    Phil Rogers
    A problem shared is a problem solved.

  3. #3
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Recently Viewed Items - Customers Getting lost :o(

    So I've worked out I'll need to be able to include a category id equal to the current_category_id in the database query that is used in the while loop tht builds the recent products. To do this I think I need to implement a table join on the query that pulls the product info to join table products with table products_to_category.

    Not very good at joining tables so any pointers would be appreciated.

    Once I have the current category id as a field in the while loop I'm hoping with this I should be able to output the product_info URL to the correct category??

    Phil
    Phil Rogers
    A problem shared is a problem solved.

 

 

Similar Threads

  1. Recently Viewed Items v2.3 - Possible Bug
    By marcopolo in forum Addon Sideboxes
    Replies: 0
    Last Post: 16 Oct 2015, 08:42 PM
  2. Problems with Recently Viewed Items addon
    By philip937 in forum All Other Contributions/Addons
    Replies: 33
    Last Post: 19 Aug 2012, 09:48 PM
  3. v139h Recently Viewed Items Centerbox fixed? (1.3.9h)
    By Hell Guapo in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Jun 2012, 12:01 AM
  4. Can't see my 'Recently Viewed Items' in products page with Tabbed Pro installed
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 Dec 2011, 12:25 PM
  5. Replies: 6
    Last Post: 2 Dec 2011, 03:06 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