View Single Post
  #2  
Old 05-18-2009, 01:12 PM
 
presson83 presson83 is offline
 

Senior Member
  
Join Date: Sep 2008
Posts: 143
 

Default Re: Including Extra Form Fields on Registration Page

UPDATE:

I believe I have found the correct item in the $products array that I need - 'option_name'. According to the smarty debug console that item is available in the products array on the register.tpl page. Unfortunately my effort at getting ahold of that value is not working. Here was my attempt:

Code:
{foreach from=$products item=product} {if $product.option_name eq "Online Streaming Course"} <br />{include file="customer/main/register_additional_info.tpl" section='A'} {/if} {/foreach}

That would appear to be all I would need to do but it doesn't work. Anyone know how I should be getting ahold of the "option_name" value in the $products array?
__________________
v 4.1.11, v 4.2
Reply With Quote