- 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
Account
Extends Object. The Account Object represents basic information about the merchant's Evance Account and is instantiated on all pages in an 'account' variable. You cannot instantiate an Account Object manually.
Properties | |
---|---|
created |
Type Date The date the account was created. |
id |
Type Number The system ID that identifies the account. |
reference |
Type String The account reference represents the subdomain on the Evance platform for the account. |
Methods | |
---|---|
domain() |
Returns String The non-http domain name of the account as a subdomain of the Evance platform represented as a String. |
owner() |
Returns Contact Returns the owner Contact of the account. |
preferredDomain() |
Returns String The non-http preferred domain name of the account. This will be the preferred custom domain, or the Account's domain on the Evance platform represented as a String. |
url() |
Returns Url The Account's Evance platform domain name represented as a Url Object. |
preferredUrl() |
Returns Url The Account's preferred domain name represented as a Url Object. |