/
Site SFO

Site SFO

Properties

Methods

Method

Signature

Comments/Sample

attr (1)

SimpleAttributes attr()

returns all attributes configured for the site

attr (2)

string attr(string key)

 

attr (3)

string attr(string key, String defaultValue)

 

attrDefinitionList

DefinitionList attrDefinitionList(string key)

 

attrSimpleList

SimpleList attrSimpleList(string key)

 

getAttributestring getAttribute(string attributeName) 
getAttributeI18Nstring getAttributeI18N(string attributeName)returns the attribute, translated into the customer's desired language.
getAttributeI18NHtmlLangstring getAttributeI18NHtmlLang(string attributeName)returns the HTML lang attribute to be usd on the surround DOM element to tell search engines about how the content was translated.

getFileUrl

string getFileUrl(string filePath)

returns a full url to a relative file path

getName()

string getName()

 

getStyle

string getStyle(string filePath)

returns the contents of a css file relative to the storefront root.

isSupportCustomerProfiles

boolean isSupportCustomerProfiles()

 

See Also

Related content

Theme SFO
More like this
Item SFO
More like this
OEmbed SFO
More like this
SimpleAttributes SFO
SimpleAttributes SFO
More like this
DefinitionList SFO
DefinitionList SFO
More like this
SEO SFO
More like this