Islander2u Posted February 5, 2004 Share Posted February 5, 2004 I am trying to figure out a way to limit the amount of items being displayed in Viewed Products 1.0 but having no luck I tried to borrow code from recently viewed which has this feature. $counter = 0; $info_box_contents = array(); $recent_products = split(';',$recently_viewed); foreach ($recent_products as $recent) { if ((strlen($recent) >0) && ($counter < 10)) { $counter++; if (strlen($counter) < 2) { $counter = '0' . $counter; } but I cant seem to get it to work. Has anyone else done this or have any leads? Link to comment Share on other sites More sharing options...
Guest Posted February 5, 2004 Share Posted February 5, 2004 No double posting, per forum rules. your other identical post: http://www.oscommerce.com/forums/index.php?showtopic=77387&hl= Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.