title: Show "Free Shipping text" when free shipping price rule is enabled
body: <p>Already made a script with help from this forum and friends, like:</p>
  
  <pre><code> &lt;?php
   // Determine if product "free shipping" is true
  if ($_product-&gt;getFreeShipping())
  {
  echo '&lt;span class="freeShip"&gt;'.$_product-&gt;getAttributeText('free_shipping').'&lt;/span&gt;';
  }
  
   // Determine if product costs more than 65
  else if ($_specialPrice = $_product-&gt;getFinalPrice() &gt; 65)
  {
  echo '&lt;span class="freeShip"&gt;FREE SHIPPING ON THIS PRODUCT!&lt;/span&gt;';
  }
  ?&gt;
  </code></pre>
  
  <p>This works perfectly, but now I want also to show the "FREE SHIPPING ON THIS PRODUCT" text when a price rule called "Free Shipping Rule" is enabled. This price rule ensures that a selection of products gets free shipping.</p>
  
  <p>I already made a short code, but don't know how to go further.
              //Load the rule object
              $rule = Mage::getModel('catalogrule/rule')->load($ruleID);</p>
  
  <pre><code>        if ($_product-&gt;$rule-&gt;getName() = Free Shipping Rule)
          {
          echo '&lt;span class="freeShip"&gt;FREE SHIPPING ON THIS PRODUCT!&lt;/span&gt;';
          }
  </code></pre>
  
  <p>Done this with information from this post: <a href="https://stackoverflow.com/questions/7649695/magento-get-price-rules-from-order">Magento - get price rules from order</a></p>
  
  <p>If you see something that I can change, or what I can do to make it work, please let me know! Thanks!</p>
  
  <p>EDIT 1:
  I thought we can also do this when getting information about the shipping cost. I thought something like "If shipping cost = 0, display "FREE SHIPPING ON THIS PRODUCT". Just found something on the internet, and edited a bit. Do you think this code will work?  </p>
  
  <pre><code>&lt;?php
  if($_product-&gt;isSaleable())
  {
  $quote = Mage::getModel('sales/quote');
  $quote-&gt;getShippingAddress()-&gt;setCountryId('*');
  $quote-&gt;addProduct($_product);
  $quote-&gt;getShippingAddress()-&gt;collectTotals();
  $quote-&gt;getShippingAddress()-&gt;setCollectShippingRates(true);
  $quote-&gt;getShippingAddress()-&gt;collectShippingRates();
  $rates = $quote-&gt;getShippingAddress()-&gt;getShippingRatesCollection();
  
  foreach ($rates as $rate)
  }
  // Check the product shipping price
  php if ($rate-&gt;getPrice() == 0)
  {
  echo '&lt;span class="freeShip"&gt;FREE SHIPPING ON THIS PRODUCT!&lt;/span&gt;';
  }
  ?&gt;
  </code></pre>
  
  <p>EDIT 2: Edited the code to below, but still doesn't work. Looks like the is well, isn't it?</p>
  
  <pre><code>&lt;?php
   // Determine if product "free shipping" is true
  if ($_product-&gt;getGratisVerzending())
  {
  echo '&lt;span class="freeShip"&gt;'.$_product-&gt;getAttributeText('gratis_verzending').'&lt;/span&gt;';
  }
  
   // Determine if product costs more than 65
  else if ($_specialPrice = $_product-&gt;getFinalPrice() &gt; 65)
  {
  echo '&lt;span class="freeShip"&gt;GRATIS VERZONDEN!&lt;/span&gt;';
  }
  
  $quote = Mage::getModel('sales/quote');
  $quote-&gt;getShippingAddress()-&gt;setCountryId('*');
  $quote-&gt;addProduct($_product);
  $quote-&gt;getShippingAddress()-&gt;collectTotals();
  $quote-&gt;getShippingAddress()-&gt;setCollectShippingRates(true);
  $quote-&gt;getShippingAddress()-&gt;collectShippingRates();
  $rates = $quote-&gt;getShippingAddress()-&gt;getShippingRatesCollection();
  
  foreach ($rates as $rate)
  
  // Determine if shipping is 0
  else if ($rate-&gt;getPrice() == 0)
  {
  echo '&lt;span class="freeShip"&gt;FREE SHIPPING ON THIS PRODUCT!&lt;/span&gt;';
  }
  
  ?&gt;
  </code></pre>