Portal | Homepage | Blog

How do I limit the number of products showing in the "Recently Viewed panel?


#1

Hi,
I am trying to reduce the number of products showing in the recently viewed panel. The default appears to be 10. I can’t find a setting to adjust this - the options only show to enable / disable. The Specials panel, New Products panel and Pre Order panel are available to change.


#2

Since there’s no option to set the number of products on the panel you need to update the Recently Viewed Items Panel template e.g.

      {forEach recentlyviewedproduct}

     {if (thisloop['iteration'] lte 4)}
....
     {endif}

      {endForEach}

#3

Great - thanks Brian!