View Single Post
  #6  
Old 06-11-2006, 06:01 AM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 481
 

Default

looks like you are actually using single column format in your link so you need to modify products.tpl not products_t.tpl (but i'd add it to both).

This is from my 4.0.18 (w/o DSEFU) so the code quotes might be slightly different.

customer/products.tpl

look for the following (do a search for product_thumbnail), which is your thumbnail in the listing:
Code:
{if $active_modules.Special_Offers ne "" and $products[product].have_offers} {include file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]} {$lng.lbl_see_details} {else} <A href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} {$lng.lbl_see_details}</A> {/if}

add after (the free shipping part):
Code:
{if $products[product].free_shipping eq "Y"} [img]{$ImagesDir}/freeshipping.gif[/img] {/if}

so the final bit should look similar to this:
Code:
{if $active_modules.Special_Offers ne "" and $products[product].have_offers} {include file="modules/Special_Offers/customer/product_offer_thumb.tpl" product=$products[product]} {$lng.lbl_see_details} {else} <A href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}{if $featured eq 'Y'}&featured{/if}">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} {$lng.lbl_see_details}</A> {/if} {* -------------------Free shipping ------------------*} {if $products[product].free_shipping eq "Y"} [img]{$ImagesDir}/freeshipping.gif[/img] {/if} {* -------------------Free shipping ------------------*} {if $active_modules.Feature_Comparison ne '' && $products[product].fclassid > 0 && $printable ne 'Y'}
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote