| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Showng Icon for Free Shipping | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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, |
|||||||
#2
|
|||||||
|
|||||||
![]() Quote:
place above code in product.tpl where you want to display image.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#3
|
|||||||
|
|||||||
![]() 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, |
|||||||
#4
|
|||||||
|
|||||||
![]() 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? |
|||||||
#5
|
|||||||
|
|||||||
![]() 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:
Did I screwed up somewhere? Thanks -Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#6
|
|||||||
|
|||||||
![]() The forum has screwed up the code, it should be:
{if $product.free_shipping eq "Y"} <img src="{$ImagesDir}/FreeShipping.gif">{/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Quote:
Thanks Ryan. I don't care what all people say about you. You're still my hero. Hehehe........J/K.
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#8
|
|||||||
|
|||||||
![]() Heh...funny guy
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|