Functions:recentlyViewedAdd

From Whirlwind eCommerce Wiki
Jump to: navigation, search

Description

eV::recentlyViewedAdd(), when placed in a page template, will qualify all pages using the template to be stored for later retrieval via the recentlyViewedGet function.

Syntax

eV::recentlyViewedAdd($pageId);

Paramaters

  • $pageId
the unique system assigned pageId for the page that will be stored for later retrieval. Usually this will be the core variable $pageId.

Return Values

No values are returned

Examples

// apply pages using this template to the recentlyViewed stored history
eV::recentlyViewedAdd($pageId);