If Element

An if statement is a programming conditional statement that, if proved true, shows the information contained within. If statements should be used sparingly; it is better to use a custom element to maintain complex nested logic;.

Conditions

An if statement toggle is based on one or more conditional checks that are supplied as arguments.

The example conditions are based on the server's current time

Time

A condition based on the time of day.

Good evening.

Day of Week

A condition based on the day of the week.

Date

A condition based on dates.

Regular shipping rates apply.

Datetime

A condition based on datetimes.

FREE pen with each order.