recently viewed

Views: 21,091

Results 61 to 80 of 84
3 Sep 2008, 10:17 AM
#61
musicfreer avatar

musicfreer

Zen Follower

Join Date:
Jul 2008
Posts:
155
Plugin Contributions:
0

recently viewed

BlessIsaacola:

I am not sure that we are talking about the same thing. If you go to the other thread, you will notice that this issue was discussed and there is a new file released to fix it as well as the code pasted.

Thanks again for your continuous support! After reading all threads and your codes, I finally added the dot line to both recently viewed mod and best seller thumbnail mod.

Just my coding is a little weird, the padding codes in the td class doesn't seem to work, I have to add another class at div level to make the padding works. Really no idea. Anyway, as long as it is working, I am happy with that. For your info, hereunder is my codes and tpl:

<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
 */
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<div >' . "\n";
  $content .= '<table cellpadding=0 cellspacing=0>' . "\n";
  foreach ($_SESSION['recent_products'] as $recent_product) {
	$link = zen_href_link(zen_get_info_page($recent_product), 'products_id=' . $recent_product);
	$content .= '<tr><td  class="recent-products-border"><div class="recent-products-div"><a href="' .  $link . '">' . zen_get_products_image($recent_product, SMALL_IMAGE_WIDTH/2, SMALL_IMAGE_HEIGHT/2) . '</a></div></td><td class="recent-products-border"><div class="recent-products-div"><a href="' . $link . '">' . zen_get_products_name($recent_product, $_SESSION['languages_id']) . '</a></div><div class="recent-products-price">' . zen_get_products_display_price($recent_product) . '</div></td>' . "\n" . 
				 '</tr>';
  }
  $content .= '</table>' . "\n";
  $content .= '</div>' . "\n";
  $content .= '</div>';
?>
.recent-products-border {
	border-bottom: 1px dotted Silver;
	font-size: 0.9em;
}

.recent-products-div
{
padding-top: 3px;
padding-right: 0px;
padding-bottom: 3px;
padding-left: 3px;
}    

.recent-products-price
{
text-align: right;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 3px;
padding-left: 0px;
}    

Please let me know if you have any comment about it. Thanks again!

My site again:
http://www.locomolife.com/store/

7 Nov 2008, 4:32 PM
#62
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: recently viewed

I wonder if the recently viewed mod can be combined with the cross sell mod to create a recommended products mod?

Rich People scream, Wealthy people whisper

https://www.cooltechcentral.com

7 Nov 2008, 8:20 PM
#63
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: recently viewed

I am also wondering if this mod could be turned into a center box.

Rich People scream, Wealthy people whisper

https://www.cooltechcentral.com

16 Jan 2009, 6:16 AM
#64
jmelwak avatar

jmelwak

New Zenner

Join Date:
Jul 2007
Posts:
64
Plugin Contributions:
0

Re: recently viewed

does anybody know where i can find the recently viewed module for zen cart 1.3.8?

12 Sep 2009, 6:37 AM
#66
soki avatar

soki

New Zenner

Join Date:
Apr 2008
Location:
Athens
Posts:
85
Plugin Contributions:
0

Re: recently viewed

Also to make the products name shorter so not go out of sidebox go to your stylesheet.css and add the following:

.recent-products-name {
	font-size: 0.8em;
}
10 Jan 2010, 11:41 AM
#67
billnally avatar

billnally

Zen Follower

Join Date:
Jan 2006
Posts:
251
Plugin Contributions:
0

Re: recently viewed

Hi guys
I’m having trouble with this mod and no idea why. Uploaded 5 files to the correct folders and checked on the server that I did it right, ran the sql patch fine. It’s in maximum values so the patch worked I think and turned it on in layout boxes controller and enabled it in the same way as all the other boxes are and nothing happens and I don’t know why
Any help would be appreciated

15 Feb 2010, 12:32 AM
#69
lumpylumpy avatar

lumpylumpy

New Zenner

Join Date:
Feb 2008
Posts:
27
Plugin Contributions:
0

Re: recently viewed

Hi, i am using Recently Viewed on 1.38a with no problems, maybe someone has a idea how to filter recently viewed products to certain products_id's ?
like for ex. just products_id=2222,3333,111,5453

Best regards Zoli.

16 Apr 2010, 3:32 PM
#70
animejim avatar

animejim

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: recently viewed

Hi, I was hoping someone may be able to point me in the correct direction. I can't seem to find the answer so far.

I first installed Recently Viewed addon and it was working fine (from what I remember). I soon after installed IH2 addon and that's working great.

The trouble I'm having on my site is now Recently Viewed is showing the original image I've uploaded (full sized), not a small image.

I'm still working on my site but you just need to click a product to see it on the right side: http://otakudepot.com I've adjusted all the image size settings in ZC config but never see it change the Recently Viewed image size.

I have the main product image set to display at 590px wide but the image for (Nendoroid figure of Mio) is the original 600px wide image.

Any help or pointers would greatly be appreciated. :blush:

thanks,
James.

17 Apr 2010, 4:01 PM
#71
animejim avatar

animejim

New Zenner

Join Date:
Mar 2010
Posts:
3
Plugin Contributions:
0

Re: recently viewed

Well, after a few hours of trying anything I finally found the problem. My fix is below for anybody else having the same problem:

I had the "Admin - Configuration - Images" section of my store set with the following parameters:

Small Image Width - 125
Small Image Height - 0

It seems having the Height set to 0 just prevented the Recently Viewed mod from getting the size correct so it showed it full sized.

I changed my settings in ZC to both be 125 and it's now showing a correct image.

I'm going to have to test with a rectangular sized image to see if it's distorting the image for me. If anybody knows of a better option I'm all ears.

18 Oct 2010, 9:15 PM
#72
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Re: recently viewed

I installed "Recent Views" module on my site (https://www.best4future.com). I noticed that when I put the mouse over the small image under the sidebox "Recently viewed", there is no pop-up medium image. And all the titles for small images are "100". (I installed image-handler 2)

While I I put the mouse over the small image under the sidebox "New Products", the medium images pop up.

Why is that? Is there any way to fix? Thank you!!

Lina

16 Jan 2011, 2:10 AM
#73
mipavluk avatar

mipavluk

Zen Follower

Join Date:
Jun 2007
Location:
Posadas, Misiones, Argentina
Posts:
221
Plugin Contributions:
0

Re: recently viewed

could somebody help me to uninstall the sql patch please?

installation was:

INSERT INTO configuration ( configuration_title , configuration_key , configuration_value , configuration_description , configuration_group_id , sort_order , last_modified , date_added) VALUES ( 'Maximum Display of Recently Viewed Products', 'RECENT_VIEWED_PRODUCTS_MAXIMUM', '3', 'This sets the maximum number of recently viewed items a user can see. If set to 0 or left blank will display 10 items maximum.', '3', '900' , NULL , NOW() );

thanks in advance...

URL: http://www.littledreamswarehouse.com/shop
Zen Version: 1.3.89h
Zen Template: orange modified

1 Aug 2011, 2:15 PM
#74
jfreeman avatar

jfreeman

Zen Follower

Join Date:
Apr 2010
Location:
Sutton, MA
Posts:
150
Plugin Contributions:
0

Re: recently viewed

Hello there - I really love your report - it's a great tool! May I make a suggestion to setup a filter - perhaps by some attibute that could group a bunch of items that meet the criteria? My application is - I would like to sell items on consignment on my website. I want to run the Recently Viewed Items Report on one of my consignment accounts so they may see their activity. I was thinking about putting a two digit number in front of the description as a way to make this work on a simple bases. I thought that if I could punch in the two digit number the report would just select this records matching the two digit number from the description field and then show only those items selected. Perhaps you could make it more flexiable by allowing more digits (alpha/numberic) to select on.

Thanks! Jeff

15 Aug 2011, 3:45 PM
#75
honda_crunch avatar

honda_crunch

New Zenner

Join Date:
Jul 2011
Posts:
22
Plugin Contributions:
0

Re: recently viewed

lina0962:

I installed "Recent Views" module on my site (https://www.best4future.com). I noticed that when I put the mouse over the small image under the sidebox "Recently viewed", there is no pop-up medium image. And all the titles for small images are "100". (I installed image-handler 2)

While I I put the mouse over the small image under the sidebox "New Products", the medium images pop up.

Why is that? Is there any way to fix? Thank you!!

Lina

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.

17 Aug 2011, 2:04 PM
#76
honda_crunch avatar

honda_crunch

New Zenner

Join Date:
Jul 2011
Posts:
22
Plugin Contributions:
0

Re: recently viewed

honda-crunch:

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!

11 Oct 2011, 12:26 PM
#77
fariba avatar

fariba

New Zenner

Join Date:
Jun 2010
Location:
London
Posts:
39
Plugin Contributions:
0

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 :frusty::frusty:

<!--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 :(

15 Oct 2011, 11:34 PM
#78
fariba avatar

fariba

New Zenner

Join Date:
Jun 2010
Location:
London
Posts:
39
Plugin Contributions:
0

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

18 Oct 2011, 12:51 PM
#79
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: recently viewed

honda-crunch:

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!

26 Jan 2012, 1:16 PM
#80
raj3396 avatar

raj3396

New Zenner

Join Date:
May 2011
Location:
DELHI,INDIA
Posts:
43
Plugin Contributions:
0

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..:clap: