![]() |
Showng Icon for Free Shipping
Hi, I'd like to show visitors a small graphic with products which have free delivery. I guess I should use the {if}image{/if} smarty tag but can't remember what needs to be user for the {if $xxxxx} trigger.
Help warmly welcomed. Many thanks, |
Quote:
place above code in product.tpl where you want to display image. |
Thanks raxitpatel,
It works really well, only thing is now we would also like to offer clients an option to have free normal delivery (UK only, free) or express delivery (paid). As the Free Delivery removes options for additional delivery options is it possible to show the image for specific delivery methods? Thanks, |
I used this mod and implimented it to display a free shipping image under products that are marked free shipping - http://test.streetortrack.com/product.php?productid=17102&cat=243&page=1
What I'd like to also display is the another free shipping image under the thumbnail of the product in the product list page - http://test.streetortrack.com/home.php?cat=294 This way the customer wouldn't need to actually load the product details to see that they can save money with free shipping. And I wouldn't need to add the free shipping text to the product name... Any ideas? |
Re: Showng Icon for Free Shipping
Quote:
Please help. I used the same code and inserted into the "skin1\customer\main\product.tpl" file but it doesn't work. Instead of showing the image, it is showing this text instead. [img]/skin1/images/FreeShipping.gif[/img] I checked and do have the "FreeShipping.gif" file under the "skin1\images" directory. Here is the code that I put in. Code:
{if $product.free_shipping eq "Y"} [img]{$ImagesDir}/FreeShipping.gif[/img] {/if} Did I screwed up somewhere? Thanks -Tuan |
Re: Showng Icon for Free Shipping
The forum has screwed up the code, it should be:
{if $product.free_shipping eq "Y"} <img src="{$ImagesDir}/FreeShipping.gif">{/if} |
Re: Showng Icon for Free Shipping
Quote:
Thanks Ryan. I don't care what all people say about you. You're still my hero. Hehehe........J/K. |
Re: Showng Icon for Free Shipping
Heh...funny guy :)
|
All times are GMT -8. The time now is 06:07 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.