View Single Post
  #1  
Old 11-20-2009, 08:00 AM
 
BrighterBlooms1 BrighterBlooms1 is offline
 

Advanced Member
  
Join Date: Feb 2008
Location: Charlotte, NC
Posts: 29
 

Default Only 2 extra fields in <a href>

Need some help, i am trying to have one extra field be the anchor text with the other extra field fill in the URL, below is the code... tell me where i am going wrong.

Code:
{if $active_modules.Extra_Fields ne ""} {include file="modules/Extra_Fields/product.tpl"} <tr> <td colspan="2" align="center" class="PlantBoxFooter">{section name=field loop=$extra_fields} {if $extra_fields[field].field_value and ($extra_fields[field].service_name eq "SERVICE_NAME15")}<a target="_blank" href="{$extra_fields[field].field_value}">{/if}{if $extra_fields[field].field_value and ($extra_fields[field].service_name eq "SERVICE_NAME13")} {$extra_fields[field].field_value} Planting Directions</a>{/if}{/section} </td> </tr> {/if}
__________________
X-cart version 4.6.5
Reply With Quote