Thread: recently viewed

Results 1 to 10 of 84

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Posts
    22
    Plugin Contributions
    1

    Default Re: why no pop-up image on recently viewed small images?

    Quote Originally Posted by honda-crunch View Post
    I tried your site best4future.com and noticed you have got recently viewed to work properly with image handler, I am using IH3 with this mod and getting the same error as your query. Did you fix the issue yourself or find a post on this site? I have searched on and off for many hours with no luck almost to the point of keeping it like it is.

    Well, I did not give up and I have now found a solution...

    It now gives a full product name and loads up a medium size image with IH3

    I am using Zencart 1.3.9h with Recenlty Viewed 1.1 and Image handler 3. I have tested on my site and found no errors in the cache log.

    I thought I would post it here as I'm sure I am not the only one with this issue.

    Here Goes:
    Find php file: tpl_recent_products.php
    located in: cart/includes/templates/sideboxes/

    If like me you have extra templates then use:
    cart/includes/templates/YOUR_TEMPLATE/sideboxes/

    Find line 11 which starts:

    $content .= '<a href="' . zen_href_link(zen_get_info_page($recent_products->fields["products_id"]), 'products_id=' .
    $recent_products->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />' . $recent_products->fields['products_name'] . '<br />' ;

    Replace it with:

    $content .= '<a href="' . zen_href_link(zen_get_info_page($recent_products->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($recent_products->fields['master_categories_id']) . '&products_id=' . $recent_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], $recent_products->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
    $content .= '<br />' . $recent_products->fields['products_name'] . '</a>';

    Don't touch any other file.
    As I'm not a professional programmer, obviously I will not guarantee it. Please make a backup before you start.

    The next thing to do is to show a price under each product!

  2. #2
    Join Date
    Jun 2010
    Location
    London
    Posts
    39
    Plugin Contributions
    0

    Default Re: recently viewed

    Hi . I have installed the recently viewed module and it shows the recently viewed item in sidebox but I would like to have it underneath the product info page.. I have added the following code in my tpl_product_info_display.php page but it does not show anything

    <!--bof recent products module-->
    <?php require($template->get_template_dir ('tpl_modules_recent_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates') . '/tpl_modules_recent_products.php'); ?>
    <!--eof recent products module-->


    Any suggestion would be so appreciated

  3. #3
    Join Date
    May 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: why no pop-up image on recently viewed small images?

    Quote Originally Posted by honda-crunch View Post
    Well, I did not give up and I have now found a solution...

    It now gives a full product name and loads up a medium size image with IH3

    I am using Zencart 1.3.9h with Recenlty Viewed 1.1 and Image handler 3. I have tested on my site and found no errors in the cache log.

    I thought I would post it here as I'm sure I am not the only one with this issue.

    Here Goes:
    Find php file: tpl_recent_products.php
    located in: cart/includes/templates/sideboxes/

    If like me you have extra templates then use:
    cart/includes/templates/YOUR_TEMPLATE/sideboxes/

    Find line 11 which starts:

    $content .= '<a href="' . zen_href_link(zen_get_info_page($recent_products->fields["products_id"]), 'products_id=' .
    $recent_products->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />' . $recent_products->fields['products_name'] . '<br />' ;

    Replace it with:

    $content .= '<a href="' . zen_href_link(zen_get_info_page($recent_products->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($recent_products->fields['master_categories_id']) . '&products_id=' . $recent_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], $recent_products->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
    $content .= '<br />' . $recent_products->fields['products_name'] . '</a>';

    Don't touch any other file.
    As I'm not a professional programmer, obviously I will not guarantee it. Please make a backup before you start.

    The next thing to do is to show a price under each product!
    Thank you so much! I was at my wits end with this problem!

  4. #4
    Join Date
    May 2011
    Location
    DELHI,INDIA
    Posts
    43
    Plugin Contributions
    1

    Default Re: recently viewed

    hi friends i have installed the recently viewed mod, i am using zen cart version 1-39h along with I.H.3 , THE SIDE-BOX images are not ENLARGED and price is not shown,my site molw a.com ,how can i correct this..

  5. #5
    Join Date
    May 2011
    Location
    DELHI,INDIA
    Posts
    43
    Plugin Contributions
    1

    Default Re: why no pop-up image on recently viewed small images?

    Quote Originally Posted by honda-crunch View Post
    Well, I did not give up and I have now found a solution...

    It now gives a full product name and loads up a medium size image with IH3

    I am using Zencart 1.3.9h with Recenlty Viewed 1.1 and Image handler 3. I have tested on my site and found no errors in the cache log.

    I thought I would post it here as I'm sure I am not the only one with this issue.

    Here Goes:
    Find php file: tpl_recent_products.php
    located in: cart/includes/templates/sideboxes/

    If like me you have extra templates then use:
    cart/includes/templates/YOUR_TEMPLATE/sideboxes/

    Find line 11 which starts:

    $content .= '<a href="' . zen_href_link(zen_get_info_page($recent_products->fields["products_id"]), 'products_id=' .
    $recent_products->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />' . $recent_products->fields['products_name'] . '<br />' ;

    Replace it with:

    $content .= '<a href="' . zen_href_link(zen_get_info_page($recent_products->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($recent_products->fields['master_categories_id']) . '&products_id=' . $recent_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], $recent_products->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
    $content .= '<br />' . $recent_products->fields['products_name'] . '</a>';

    Don't touch any other file.
    As I'm not a professional programmer, obviously I will not guarantee it. Please make a backup before you start.

    The next thing to do is to show a price under each product!
    Thanks ,by following this NOW THE IMAGES ARE ENLARGED IN RECENTLY VIEWED,JUST NEED THE CODE TO SHOW THE PRICE AS WELL ,THANKS AGAIN..

  6. #6
    Join Date
    Sep 2011
    Posts
    135
    Plugin Contributions
    0

    Default Re: why no pop-up image on recently viewed small images?

    Old thread but I guess its still the best place to ask..

    How long are the recent products for a visitor kept? Seems when I revisit my own store the sidebar is empty, after only 8 hours or so. Id like people to be able to see what they looked at 3 or 4 days ago, can this be done?

    Also can the sidebar show a grid of 2x2? I find a 1 x 3 column takes up a bit much room.

  7. #7
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: why no pop-up image on recently viewed small images?

    Quote Originally Posted by Chargin View Post
    Old thread but I guess its still the best place to ask..

    How long are the recent products for a visitor kept? Seems when I revisit my own store the sidebar is empty, after only 8 hours or so. Id like people to be able to see what they looked at 3 or 4 days ago, can this be done?

    Also can the sidebar show a grid of 2x2? I find a 1 x 3 column takes up a bit much room.
    There seems to be 2 mods that do this.
    I checked one and it doesn't seem to store any visit data in the database..

    So I assume it is stored in the current session. That means it will be active for 20 minutes without a key press.
    The same time that items will remain in your shopping cart (without you being logged in).

    You would have to adapt a mod such as the Save For Later mod which stores info in cookies to achieve what you want.

  8. #8
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: why no pop-up image on recently viewed small images?

    just wondering... is it possible to get this mod display recent viewed items on product listing page in a row and not in column?

 

 

Similar Threads

  1. v151 recently viewed products
    By 100asa in forum Addon Sideboxes
    Replies: 2
    Last Post: 3 Dec 2013, 04:30 PM
  2. Recently Viewed indicator while shopping?
    By vinnyna in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 16 Dec 2011, 02:24 PM
  3. Recently viewed sidebox
    By sjk1000 in forum Addon Sideboxes
    Replies: 13
    Last Post: 27 Dec 2009, 08:16 PM

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