<mvt:do file="g.Module_Feature_PGR_DB" name="l.ok" value="PriceGroup_Load_Name( 'Sale Price', l.price_group )" />
<mvt:if expr="l.price_group:id GT 0">
Exsists<br />
<mvt:do file="g.Module_Feature_PGR_DB" name="l.b" value="PriceGroupXProduct_Load( l.price_group:id , l.settings:product:id, l.settings:pricegroupvar )" />
<mvt:if expr="NOT ISNULL l.settings:pricegroupvar">
Assigned to this product<br />
<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>
</mvt:if>
</mvt:if>