| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Free Shipping Button in Products page | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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,
__________________
X-Cart Pro 4.1.9 [Migrated from Gold 4.1.8 to Pro 4.1.9 - Feb 2008] Add Ons: X-FancyCategories, X-Magnifier, X-FeatureComparison, X-SpecialOffers |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() 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.
__________________
X-Cart Pro 4.1.9 [Migrated from Gold 4.1.8 to Pro 4.1.9 - Feb 2008] Add Ons: X-FancyCategories, X-Magnifier, X-FeatureComparison, X-SpecialOffers |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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. |
|||||||
#4
|
|||||||
|
|||||||
![]() 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}
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#5
|
|||||||
|
|||||||
![]() Quote:
Thanks Jerrad for your response.Where we call this code in product page? |
|||||||
#6
|
|||||||
|
|||||||
![]() 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! ![]()
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#7
|
|||||||
|
|||||||
![]() 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. |
|||||||
#8
|
|||||||
|
|||||||
![]() 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...
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
|
#9
|
|||||||||
|
|||||||||
![]() Great!
That simplifies my requirement too.... Thanks a ton Jerrad for the inputs... Best Regards,
__________________
X-Cart Pro 4.1.9 [Migrated from Gold 4.1.8 to Pro 4.1.9 - Feb 2008] Add Ons: X-FancyCategories, X-Magnifier, X-FeatureComparison, X-SpecialOffers |
|||||||||
#10
|
|||||||
|
|||||||
![]() Quote:
If possible how? Can anyone help me? Thanks to all. |
|||||||
|
|||
X-Cart forums © 2001-2020
|