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.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2372525-socolissimo-mobile-3-interdiff.txt | 826 bytes | jcisio |
#3 | 2372525-socolissimo-mobile-3.patch | 6.62 KB | jcisio |
Comments
Comment #1
jcisio CreditAttribution: jcisio commentedPatch in the next few days...
Comment #2
jcisio CreditAttribution: jcisio commentedComment #3
jcisio CreditAttribution: jcisio commentedThe patch in #2 does not check if the form is empty. New patch.
Comment #4
Kleinast CreditAttribution: Kleinast as a volunteer commentedHello,
I was wondering why phone number is required in this module ?
Thx
Comment #6
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedSo, 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.