Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

  1. To add the Deal of the Week to the homepage, see here.

  2. Create two pages titled “deal-of-the-week” and “deal-of-the-week-sold”

  3. On “deal-of-the-week”, add a promotion snippet with the following values:

    1. SoldPage – “deal-of-the-week-sold”

    2. ItemTemplate – “UnitPromotion.cshtml” or a custom template if the dealer has one set up.

    3. PromotionTypeId – Place the ID of the Deal of the Week promotion listed in the “Promotions” tab of ICC.

  4. On “deal-of-the-week” add the following scripts to the footer.

    1. <script src="https://assets-cdn.interactcp.com/interactrv/js/common_netcore/countdown.js" type="text/javascript"></script>

      b.

      <script type="text/javascript">$('.dow-unit-content.hidden').removeClass('hidden');</script>

      c.

      <script>// <!--CDATAOPENTAG--> $(function () {
      
      $('.dow-countdown-large').each(function() {
      
      var endDay = new Date($(this).attr('data-end-date'));
      
      $(this).countdown({until: endDay});
      
      });
      
      });
      
      // <!--CDATACLOSETAG--></script>
  • No labels