X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Free Shipping Logo in Product List (https://forum.x-cart.com/showthread.php?t=26087)

dillion 10-25-2006 04:14 AM

Free Shipping Logo in Product List
 
I have been through the forum and found the followin code to place my "Free Shipping" icon on the Product Details Page.

{if $product.free_shipping eq "Y"} <img src="{$ImagesDir}/Free_Ship1.jpg">{/if}

This works great, but I would also like to place the same "Free Shipping" icon on the Product List Page. I saw that someone had placed this same code in the product_thumbnail.tpl which I tried. It will place the icon on the Product List page, but it does not work properly in the fact that if you select "no" for free shipping it still places the free shipping icon the the prodcut list page. Any help would be greatly appreciated.

Thanks

balinor 10-25-2006 04:17 AM

Re: Free Shipping Logo in Product List
 
Try:

{if $products[product].free_shipping eq "Y"}

dillion 10-25-2006 04:26 AM

Re: Free Shipping Logo in Product List
 
That works Great.

Thank You.

code4access 10-31-2007 09:05 AM

Re: Free Shipping Logo in Product List
 
Hi balinor, thank you very much for this useful info. I had inplemented it successfuly in skin1/product_thumbnail.tpl.

I tried to implement it in skin1/customer/main/product.tpl , but it seems that this criteria {if $products[product].free_shipping eq "Y"} is not working.

I had checked it is correct place to put the Free Shipping Logo, as wihout this criteria, logo do show out in product detail.

Kindly help, appreciated.

balinor 10-31-2007 09:06 AM

Re: Free Shipping Logo in Product List
 
Try {if $product.free_shipping eq "Y"}

code4access 10-31-2007 09:12 AM

Re: Free Shipping Logo in Product List
 
Quote:

Originally Posted by code4access
Hi balinor, thank you very much for this useful info. I had inplemented it successfuly in skin1/product_thumbnail.tpl.

I tried to implement it in skin1/customer/main/product.tpl , but it seems that this criteria {if $products[product].free_shipping eq "Y"} is not working.

I had checked it is correct place to put the Free Shipping Logo, as wihout this criteria, logo do show out in product detail.

Kindly help, appreciated.


Is ok now, by change the criteria to {if $product.free_shipping eq "Y"}

aerogear2000 12-10-2007 01:30 AM

Re: Free Shipping Logo in Product List
 
hello I got the free shipping logo to work, but when I try to check out I will get " there is no shipping to your location"

Thanks

aerogear2000 12-12-2007 12:02 PM

Re: Free Shipping Logo in Product List
 
can anyone help

thanks

hello I got the free shipping logo to work, but when I try to check out I will get " there is no shipping to your location"

Thanks


All times are GMT -8. The time now is 11:01 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.