Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Free Shipping Logo in Product List

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-25-2006, 04:14 AM
 
dillion dillion is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 53
 

Default 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
__________________
X-CART GOLD 4.1.7
UNIX
Reply With Quote
  #2  
Old 10-25-2006, 04:17 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Free Shipping Logo in Product List

Try:

{if $products[product].free_shipping eq "Y"}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-25-2006, 04:26 AM
 
dillion dillion is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 53
 

Smile Re: Free Shipping Logo in Product List

That works Great.

Thank You.
__________________
X-CART GOLD 4.1.7
UNIX
Reply With Quote
  #4  
Old 10-31-2007, 09:05 AM
 
code4access code4access is offline
 

Newbie
  
Join Date: Oct 2007
Posts: 7
 

Default 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.
__________________
Version 4.1.9
Reply With Quote
  #5  
Old 10-31-2007, 09:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Free Shipping Logo in Product List

Try {if $product.free_shipping eq "Y"}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 10-31-2007, 09:12 AM
 
code4access code4access is offline
 

Newbie
  
Join Date: Oct 2007
Posts: 7
 

Default 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"}
__________________
Version 4.1.9
Reply With Quote
  #7  
Old 12-10-2007, 01:30 AM
 
aerogear2000 aerogear2000 is offline
 

Senior Member
  
Join Date: Jul 2007
Posts: 143
 

Default 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
__________________
Runing on Linux server
X-cart 4.1.8 GOLD
Reply With Quote
  #8  
Old 12-12-2007, 12:02 PM
 
aerogear2000 aerogear2000 is offline
 

Senior Member
  
Join Date: Jul 2007
Posts: 143
 

Default 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
__________________
Runing on Linux server
X-cart 4.1.8 GOLD
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:21 AM.

   

 
X-Cart forums © 2001-2020