To display an appropriate image on a product details page when it has the Free shipping option enabled:
- 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.
- Open the product_details.tpl file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer/products_pages directory of your CS-Cart installation.
- 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.
- Save the file.