Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Remove from favorites Remove from favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (2 votes)

0% thumbs up 100% thumbs down

How would you rate this answer?



Thank you for rating this answer.

How can I reduce the number of items shown in the Recently Viewed panel?

1) Open SideProductRecentlyViewed.php located at: /includes/display/

2) Look for the following line:
$viewed_products = array_reverse($viewed_products);

3) Directly below this line place:
$viewed_products = array_slice($viewed_products,0,1)

That will reduce the number of products shown in the box to 1. 

Likewise:
$viewed_products = array_slice($viewed_products,0,2)
would reduce the number of products shown to 2.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software