Snippet: 1471985372 - v1 (Version: 1) - Miva - Snippets
<mvt:comment> Load the Price Group with the name of "BLACKFRIDAY" </mvt:comment> <mvt:do file="g.Module_Feature_PGR_DB" name="l.ok" value="PriceGroup_Load_Name( 'BLACKFRIDAY', l.price_group )" /> <mvt:comment> Check and see if the current time is between the price groups start and stop time </mvt:comment> <mvt:if expr="s.dyn_time_t GE l.price_group:dt_start AND s.dyn_time_t LE l.price_group:dt_end"> // The promotion for BLACK FRIDAY is active </mvt:if>