- Theme Engine
- Design Principles
- Templates
- EVML Reference
- Output
- Comments
- Operators
- Statements and Declarations
- Built-in Functions
- Built-in Objects
- Account
- Address
- Array
- Boolean
- Branch
- Cart
- CartLine
- Category
- CategoryCollection
- CategoryFilter
- CategoryFilterCollection
- CategoryFilterOption
- CategorySearch
- Collection
- Color
- Contact
- Currency
- Date
- Discount
- Dom
- Event
- EventCollection
- EventSlot
- Image
- Layout
- Locale
- Money
- Number
- Object
- Page
- PageCollection
- PageSearch
- PageSharer
- Pagination
- Postage
- Price
- PriceDiscount
- Product
- ProductCollection
- ProductCustomisation
- ProductDownload
- ProductMedia
- ProductMediaFrame
- ProductPrice
- ProductSearch
- ProductSpecification
- ProductSpecificationValue
- ProductVariation
- ProductVariationOption
- RecentlyViewed
- RegExp
- Request
- Review
- ReviewCollection
- Search
- SearchCollection
- SearchResult
- String
- Tag
- Template
- Url
- Website
- EV Tags
- CSS Pre-processor
- Ajax API
RecentlyViewed
Extends Object. Tracks recently viewed pages, categories and products and is available within the 'recentlyViewed' variable on all these pages. The tracker limits itself to 50 items, which should be more than enough. The recently viewed collections are kept for 90 days and are available to the user upon their next visit - assuming they have cookies enabled.
Methods | |
---|---|
categories() |
Returns CategoryCollection Returns all categories recently viewed in the order most recently seen first. |
pages() |
Returns PageCollection Returns all pages recently viewed in the order most recently seen first. |
products() |
Returns ProductCollection Returns all products recently viewed in the order most recently seen first. |