- 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
ProductDownload
Extends Object. Represents a download associated with a product.
Properties | |
---|---|
description |
Type String The description for the download. |
id |
Type Number The System ID for the download. |
title |
Type String The title for the download. |
url |
Type Url The Url of the downloadable file. |
visibility |
Type String The visibility option for the download, which will be one of the following options:
Note that downloads with contact and purchase privileges will only be returned if applicable to the current user. |
Methods | |
---|---|
exists() |
Returns Boolean True if the file exists, else false if it is missing. |
extension() |
Returns String Gets the file extension for the download. |
filename() |
Returns String Gets the file name of the download including its extension. |
size() |
Returns String Gets a human readable file size. |