View Single Post
  #10  
Old 05-13-2009, 11:59 PM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Free Shipping Button in Products page

Quote:
Originally Posted by Jerrad
Rename the 'your_free_shipping_image.gif' to your freeshipping image.

{if $product.free_shipping eq "Y"} <img src="{$ImagesDir}/your_free_shipping_image.gif" border="0">{/if}


Upload your freeshipping image to your images folder and in product.tpl put the code where you want the freeshipping image to appear.

Use below code if you want to display the freeshipping image on the products page (products_t.tpl):

{if $products[product].free_shipping eq "Y"} <img src="{$ImagesDir}/your_free_shipping_image.gif border="0">{/if}


Good luck!
Thanks Jerrad for your codes.Now If I want to display only free shipping products just clicking on free Shipping product button on home page(works same as search), is it possible?
If possible how?
Can anyone help me?

Thanks to all.
__________________
4.6.1 Platinum


Reply With Quote