View Single Post
  #104  
Old 06-21-2013, 11:08 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: X-Cart 4.6 released

This bug still exists in 4.6.0 - I first spotted it in 4.4.x...

In skin/common_files/modules/Advanced_Order_Management/edit_customer.tpl

Code:
{if $address_fields.phone.avail eq 'Y'} <tr{cycle name=c4 values=', class="TableSubHead"'}> <td>{$lng.lbl_phone}</td> <td><input type="text" name="customer_info[b_phone]" size="32" maxlength="32" value="{$cart_customer.b_phone|escape}" /></td> <td>{$customer.s_phone}</td> </tr> {/if} {if $address_fields.fax.avail eq 'Y'} <tr{cycle name=c4 values=', class="TableSubHead"'}> <td>{$lng.lbl_fax}</td> <td><input type="text" name="customer_info[b_fax]" size="32" maxlength="32" value="{$cart_customer.b_fax|escape}" /></td> <td>{$customer.s_fax}</td> </tr> {/if}

Should be b_phone and b_fax

Code:
<select name="customer_info[s_country]" id="customer_info_s_country" onchange="javascript: check_zip_code_field(this.form['customer_info[s_country]'], this.form['customer_info[s_zipcode]']);"> {section name=country_idx loop=$countries} <option value="{$countries[country_idx].country_code|escape}"{if $cart_customer.s_country eq $countries[country_idx].country_code or ($countries[country_idx].country_code eq $config.General.default_country and $cart_customer.b_country eq "")} selected="selected"{/if}>{$countries[country_idx].country}</option> {/section} </select>

Should be s_country
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote