Search Support
contact us

Let Us Make it Easy for You. Call 1-877-898-3290 for MyTime Support™. Learn More

Advanced Topics

Article Rating: 1 / 5 Votes: 8

Basic Functions

Basic Functions

 

Basic functions can be used anywhere on the storefront where functions are allowed.  This includes:  page content, module HTML content, header/footer HTML, product layout, and order confirmation messages.

 

Values:

Example:

<%Company.Name%>

 

Available Values:

  • CurrentThemePath (String)
  • Company.Name (String)
  • User.FirstName (String)
  • User.LastName (String)
  • User.Name (String)
  • Cart.Count (Integer)
  • Cart.Total (Decimal)

 

Conditionals (Predefined):

Example:

 <ns:if condition="User.IsLoggedIn"><!-- do things --></ns:if>

 

Available Predefined Conditional:

  • User.IsLoggedIn (True/False)