<mvt:comment>
| = Order within x hours x minutes!...
| Show at 6 AM PST through 2PM PST.
| Set hour minus 3 hours, to be in PST
| This is shown after "Calculate Shipping" buttons, if the item is under 150 lbs.
| Does not show up on Saturday and Sunday
</mvt:comment>
<mvt:assign name="l.settings:shipsToday:dayofweek" value="time_t_dayofweek( timet, time_zone )" />
<mvt:assign name="l.settings:shipsToday:cutoff" value="14" />
<mvt:assign name="l.settings:shipsToday:showtime" value="6" />
<mvt:assign name="l.settings:shipsToday:hour" value="s.tm_hour - 3" />
<mvt:assign name="l.settings:shipsToday:minutes" value="s.tm_min" />
<mvt:comment> === Order with x hours and x minutes === </mvt:comment>
<mvt:if expr="(l.settings:shipsToday:showtime LE l.settings:shipsToday:hour) AND (l.settings:shipsToday:hour LT l.settings:shipsToday:cutoff) AND (s.tm_wday NE 1 AND s.tm_wday NE 7)">
<mvt:assign name="l.settings:shipsToday:hoursleft" value="l.settings:shipsToday:hour - l.settings:shipsToday:cutoff" />
<mvt:assign name="l.settings:shipsToday:minutesLeft" value="60 - l.settings:shipsToday:minutes" />
<div class="column whole" id="ships-today-message">
<div class="inner">
<span data-icon="" class="orange"></span> <span class="ships-text">Order within <strong><mvt:if expr="l.settings:shipsToday:hoursLeft GT 0">&mvt:shipsToday:hoursleft; hour<mvt:if expr="l.settings:shipsToday:hoursleft EQ 0 OR l.settings:shipsToday:hoursleft GT 1">s</mvt:if> </mvt:if>&mvt:shipsToday:minutesLeft; minute<mvt:if expr="l.settings:shipsToday:minutesLeft EQ 0 OR l.settings:shipsToday:minutesLeft GT 1">s</mvt:if></strong> and it ships today!</span>
</div>
</div>
</mvt:if>