Jump to content

Phone number not displayed in the delivery address form


Recommended Posts

Hello!

 

I have encountered this strange problem while working on a new e-shop:

 

Even though I have made the phone number mandatory at registration (from the admin), if the customer only fills out the second field (mobile phone), and not the first, NO phone number will be displayed in the delivery address form. (See screen_shot.jpg)

 

post-445848-0-67587300-1358443023_thumb.jpg

 

Can anyone please tell me how to make it display the mobile phone number too?

 

Thank you!

Link to comment
Share on other sites

  • 9 months later...

The same problem here - P: 1.5.4.1 - I've set "at least one phone number is required".

 

If I provide the first number (phone) - it is visible in "My addresses" on my (user) account, on order_confirmations sent to me and the shop owner.

 

When I provide only the second one (mobile phone number) - it is not displayed in "My addresses" on my account page (unless I click edit - then it is in the input form, after saving again it is not shown on page with my addres (adresses) and it is not on both order confirmations (?).

 

Any idea, any help?

Link to comment
Share on other sites

Could you be more specific? Which file, what variable, where?

 

Let's take order-address.tpl from theme\default (1.5.4.1) (addresses when placing an order - step 3), all I have in the file is:

<div class="clearfix">
  <ul class="address item" id="address_delivery" {if $cart->isVirtualCart()}style="display:none;"{/if}></ul>
  <ul class="address alternate_item {if $cart->isVirtualCart()}full_width{/if}" id="address_invoice"></ul>
</div>

When I provide phone number (the first one) - it will appear in the lists; when I provide mobile_phone number, it won't. Any idea?

Link to comment
Share on other sites

×
×
  • Create New...