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)
-   -   Only 2 extra fields in <a href> (https://forum.x-cart.com/showthread.php?t=50864)

cflsystems 12-03-2009 07:26 PM

Re: Only 2 extra fields in <a href>
 
Maybe try this one

Code:

{if $active_modules.Extra_Fields ne ""}
{include file="modules/Extra_Fields/product.tpl"}
{foreach from=$extra_fields item=field}
 {if $field.field_value and $field.service_name eq "SERVICE_NAME15"}
  {assign name="url" value=$field.field_value}
 {/if}
 {if $field.field_value and $field.service_name eq "SERVICE_NAME13"}
  {assign name="anchor" value=$field.field_value}
 {/if}
{/foreach}
{if $url and $anchor}
 <tr>
  <td colspan="2" align="center" class="PlantBoxFooter">
  <a href="{$url}">{$anchor}</a>
  </td>
 </tr>     
{/if}
{/if}


BrighterBlooms1 12-07-2009 06:54 AM

Re: Only 2 extra fields in <a href>
 
nothing... i have asked a couple other people and see what they say. I will let you know if I find a solution.


All times are GMT -8. The time now is 02:51 PM.

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