![]() |
Free Shipping Button in Products page
Hi,
Can someone assist me figuring out how to do this bit which seems quite interesting. Am planning to club the "Save X%" label & "Special Offer" label concept to create a new label called "Free Shipping". For any product(s) that has free shipping, this label would be displayed on top left corner of thumbnail (in addition to Special Offer" if applicable which is displayed on bottom right corner of thumbnail). In the Product page this label will also be displayed below the "Save X% if applicable else just the "Free shipping label. Await to hear from someone to help me get this working.. Thanks in advance. Best Regards, |
Re: Free Shipping Button in Products page
Simplified option what I feel would be to add a "Free Shipping" flag on thumbnail (products page & product page as well) on product(s) that have free shipping enabled..
Any help on this ? Regards. |
Re: Free Shipping Button in Products page
Hi,
Yes is it possible to create a small image in the product/products page on each product which have free shipping enabled on item card? Thanks to all. |
Re: Free Shipping Button in Products page
Quote:
Below code works for me, but unfortunately I got no idea how to place a image on the thumbnail(s): {if $product.free_shipping eq "Y"} <img src="{$ImagesDir}/your_free_shipping_image.gif">{/if} |
Re: Free Shipping Button in Products page
Quote:
Thanks Jerrad for your response.Where we call this code in product page? |
Re: Free Shipping Button in Products page
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! :D |
Re: Free Shipping Button in Products page
Thanks Jerrad for your response. But if I want to display it on top left/top right corner on the thumbnail image.Is it possible?
The code here product_thumbnail.tpl {* $Id: product_thumbnail.tpl,v 1.19.2.4 2008/07/15 12:07:39 ferz Exp $ *} {if $config.Appearance.show_thumbnails eq "Y" or ($type ne "T" and $type ne "")}<img{if $id ne ''} id="{$id}"{/if} src="{if $tmbn_url}{$tmbn_url|amp}{else}{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?type={$type|default:"T"}&id={$productid} {/if}"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" />{/if} Please guide me to do this. |
Re: Free Shipping Button in Products page
I'm sure it's possible, but I wouldn't know how to accomplish such a (layer) effect.
Maybe somebody else can help you with this... |
Re: Free Shipping Button in Products page
Great!
That simplifies my requirement too.... Thanks a ton Jerrad for the inputs... Best Regards, |
Re: Free Shipping Button in Products page
Quote:
If possible how? Can anyone help me? Thanks to all. |
All times are GMT -8. The time now is 08:39 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.