• 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

Make fields not-required


Author Message
l5b
l5b
Multishop experienced
Topic creator
registered since: 11.04.2012
Posts: 11
Hi!

It was easy to make the zip code a non-required field by commenting out the line

PHP
if (!$post['zip']) $erno[] = $this->pi_getLL('no_zip_has_been_specified');


and the lines

PHP
jQuery("#zip&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />.validate({ // 20120422 DCH
                                                  expression: "if (VAL) return true; else return false;",
                                                        message: "'.$this->pi_getLL('zip_is_required').'"
                                         });


in the file checkout_address.php.

But somehow I am not able to make the mobile phone number a required field. I tried to copy the jquery part that checks the #telephone field. But this does not make the mobile phone number a required field; I just can implement a character count. I even tried to use

PHP
expression: "return false;"


but even that considers the mobile phone number field valid if it is empty.

Any ideas?
Written on: 22. 04. 2012 [11:57]
l5b
l5b
Multishop experienced
Topic creator
registered since: 11.04.2012
Posts: 11
Just a short note: I have swapped the label of the phone and the mobile phone field, which fulfills my requirement. Sorry for bothering you all.
Written on: 22. 04. 2012 [17:25]