Problem

There are several bugs related to the mobile phone number (and it works with a hidden scenario). Here are what actually happen:

- In Socolissimo step, if the shipping address is not fill with valid mobile number in the phone number section (phone_number), it will ask for the mobile phone number.
- When it gets the mobile number, it tries to fill it in the phone number of shipping address if this field is not empty.
- Later, the phone number field is used in the Expeditor Inet export.

Thus, I enter a 01 number (fixed number in France), I'll be asked for a 06 or 07 number (mobile number in France) in the next step, but this number is not used and by 01 one is used instead.

Solution

1/ A temporary solution is to hide mobile and fax number, and use the phone number field as if it were a mobile number field.

2/ A permanent solution is to use the mobile number field. However data could be lost with all past orders (they can have 06 number in "phone number", and "mobile number" empty). We can add a fallback: if mobile number is empty, use the phone number as if it were a mobile number.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcisio’s picture

Patch in the next few days...

jcisio’s picture

Status: Active » Needs review
FileSize
6.22 KB
jcisio’s picture

FileSize
6.62 KB
826 bytes

The patch in #2 does not check if the form is empty. New patch.

Kleinast’s picture

Hello,
I was wondering why phone number is required in this module ?

Thx

maciej.zgadzaj’s picture

Status: Needs review » Fixed

So, here we go again: thanks jcisio! Committed (with some very minor changes, hope you don't mind!) to 7.x-2.x and pushed to d.o.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.