• My account
    • (X)Sign in

      I am a returning customer at TYPO3 Multishop

      Enter your username and password here in order to log in on the website:

      Forgot your password?

      Not yet customer of TYPO3 Multishop?

      • Order history
      • Automatic generated e-mail history
      • Track your Order
      New at TYPO3 Multishop
You are here:

Help by translating Multishop in your local language

On the following page you can help by translating Multishop in your local language:

https://translation.typo3.org/projects/TYPO3.ext.multishop/

Spanish:

https://translation.typo3.org/es/TYPO3.ext.multishop/pi1/locallang.xlf

The following language are already translated by our supporters:

  • Dutch
  • German
  • French

Required phone number and length


Author Message
claudia
Claudia Höhne
Multishop newbie
Topic creator
registered since: 08.07.2011
Posts: 2
Hi,

at first, great shop extension!
nice out of the box functionality and shop administration.

I would be totally happy when there wouldn't be a few small problems:

In the configuration there is the field "Length telephone number" and "Telephone Required".

It's difficult to set the length of the phone number to a specific length, as it could be from around 8-13 in Germany.
I can't imagine that the phone numbers in Dk are ALWAYS 10 digits??

In my opinion this field should be "Minimum length of telephone number"

Then, when I set "Telephone Required" to "0", its still required in checkout and i can't process without... icon_frown.gif

So, how can i deactivate the required phone number or change the value to "minimum" instead of exact length?

best regards and thumbs up,
Claudia
Written on: 08. 07. 2011 [09:46]
claudia
Claudia Höhne
Multishop newbie
Topic creator
registered since: 08.07.2011
Posts: 2
Hi again,

soory for 'Dk', I meant NL of course...

I fixed this in checkout/multistep/checkout_address.php
in line 252 and changed th operator from == to >=:

old:
PHP
jQuery("#telephone&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />.validate({
expression: "if (!isNaN(VAL) && VAL && VAL.length == '.$ms['MODULES']['CHECKOUT_LENGTH_TELEPHONE_NUMBER'].') return true; else return false;",
message: "'.$this->pi_getLL('telephone_is_required').'"
});


new:
PHP
jQuery("#telephone&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />.validate({
expression: "if (!isNaN(VAL) && VAL && VAL.length >= '.$ms['MODULES']['CHECKOUT_LENGTH_TELEPHONE_NUMBER'].') return true; else return false;",
message: "'.$this->pi_getLL('telephone_is_required').'"
});


maybe it's helpful for others too...

regards,
Claudia



"claudia" wrote:

Hi,

at first, great shop extension!
nice out of the box functionality and shop administration.

I would be totally happy when there wouldn't be a few small problems:

In the configuration there is the field "Length telephone number" and "Telephone Required".

It's difficult to set the length of the phone number to a specific length, as it could be from around 8-13 in Germany.
I can't imagine that the phone numbers in Dk are ALWAYS 10 digits??

In my opinion this field should be "Minimum length of telephone number"

Then, when I set "Telephone Required" to "0", its still required in checkout and i can't process without... icon_frown.gif

So, how can i deactivate the required phone number or change the value to "minimum" instead of exact length?

best regards and thumbs up,
Claudia
Written on: 23. 07. 2011 [10:26]