View Single Post
  #26  
Old 02-24-2009, 12:49 PM
 
toltion toltion is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 39
 

Default Re: Extra Fields 4.1.x products_t.tpl

Try this...

<table align="left" cellspacing="0" cellpadding="0">
{section name=field loop=$extra_fields}
<td>{if $extra_fields[field].service_name eq "products_PDF"}
{include file="buttons/pdf_button.tpl" href="javascript:window.open $extra_fields[field].field_value" style="button"}
{/if}</td>
<td>&nbsp;&nbsp;</td>
<td>{if $extra_fields[field].service_name eq "products_manual"}
{$extra_fields[field].field_value}
{/if}</td>
<td>&nbsp;&nbsp;</td>
<td>{if $extra_fields[field].service_name eq "product_image"}
{$extra_fields[field].field_value}
{/if}</td>
{/section}
</table>

Not too sure about your javascript window.open code. Doesn't look like that will work...
__________________
X-Cart Gold 4.1.9
Gift Registry/Special Offers
Advanced mini-cart
XC-SEO
Mulltiple Category/Product Templates
Also bought/recently viewed
Feedback reviewer/viewer bundle
Marketing Manager Pro bundle
many more mods
Reply With Quote