Displaying a free shipping image on a product details page

To display an appropriate image on a product details page when it has the Free shipping option enabled:
  1. Put your free shipping image file into the skins/[CUSTOMER_ACTIVE_SKIN]/customer/images directory of your CS-Cart installation, where [CUSTOMER_ACTIVE_SKIN] is an active skin of your storefront.
  2. Open the product_details.tpl file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer/products_pages directory of your CS-Cart installation.
  3. Add the following part of code:
    {if $product.free_shipping == 'Y'}
                 <img class="valign" src="{$images_dir}/YOUR_IMAGE_FILE_NAME" width="90px" border="0" alt="" style="padding-right: 3px;"/>
            {/if}

    above this part of code:
    {if $wholesale_prices}
                {include file="addons/wholesale_trade/customer_product_details.tpl"}
            {/if}

    where YOUR_IMAGE_FILE_NAME is the name of your image file including its extension.
  4. Save the file.

Noticed an error in the article or it is not clear enough? Any suggestions to improve it? Please let us know by filling in the feedback form. Click here.