<!-- Scheduled Product Banners for Monthly Offers Begins -->   
  
 
<!-- promoCentral --->   
      
{%comment%}      
 Product ID: {{product.id}}<br>
Product Handle: {{product.handle}}<br>
Collection ID: {{collection.id}}<br>
Collection Handle: {{collection.handle}}<br>
Vendor: {{product.vendor}}<br>  
    
<br><b>TAGS:</b><br>      
 <!--ITERATE THROUGH THE TAGS-->
{%endcomment%} 
      
{% for tag in product.tags %}
	{% if tag contains "*" %}
     {%comment%}  <b>Tag:</b> {{ tag }}<br>{%endcomment%} 
		{% assign promoTags = tag | split: "*" %}
     {%comment%} 
      	{% for promoTag in promoTags %}
			{{ promoTag }}<br>
		{% endfor %}
      {%endcomment%} 
      	{% assign dates = promoTags[1] | split: "-" %}


 {%comment%} 
      <b>Short Tag:</b> {{ promoTags[0] }}<br>
      <b>Start Date:</b> {{ dates[0] }}<br>
      <b>End Date:</b> {{ dates[1] }}<br>
      <b>Link:</b> {{ promoTags[2] }}<br>{%endcomment%} 
	{% endif %}  
{% endfor %}   
{%comment%}   <br>      
<b>URL:</b>
https://ipp.minnesotainteractive.com/promoCentral.php?siteId=cd&product_id={{product.id}}&product_handle={{product.handle}}&promo_code={{promoTags[0]}}&start={{dates[0]}}&end={{dates[1]}}
<hr>      
{%endcomment%}        
      
<div id="promoCentralBanner"></div>

<script>
$("#promoCentralBanner").load("https://ipp.minnesotainteractive.com/promoCentral.php?siteId=cd&product_id={{product.id}}&product_handle={{product.handle}}&promo_code={{promoTags[0]}}&start={{dates[0]}}&end={{dates[1]}}");
</script>  

<!-- end promoCentral ---> 
      
      
      

<!-- Scheduled Product Banners for Monthly Offers Ends -->   