Billing emailaddress does not accept a dot in the checkout.

This topic has 5 replies, 4 voices, and was last updated 6 years, 10 months ago ago by Rose Tyler

  • Avatar: G€n!u$
    G€n!u$
    Participant
    February 15, 2017 at 12:18

    When a user checks out, he/she can not use an emailaddress with a dot, such as:
    george.vanroom@rokxgroup.com
    g.vanroom@gmail.com

    Notification:
    BILLING EMAIL ADDRESS IS A REQUIRED FIELD.

    I changed theme with twentyfifteen and than the problem was solved. Can you help?

    4 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    February 18, 2017 at 11:16

    Hello,

    You need edit the file js/etheme.js,
    change the string:
    http://prnt.sc/ea90t6
    to this:
    http://prnt.sc/ea924s

    if ( atpos<1 || dotpos<1 || val == '' ) {
         messages.push( arr['email_field'] );
    }

    Let us know the result.

    Regards,
    Eva Kemp.

    Avatar: Dousseaud
    Dousseaud
    Participant
    May 8, 2017 at 16:37

    Hello,

    I am having the exact same problem on https://www.trendyoffers.shop/

    The editing of the file js/etheme.js did not solve the problem.

    Could you please advice?

    Best,
    Flore

    Avatar: Dousseaud
    Dousseaud
    Participant
    May 9, 2017 at 10:36

    Hello,

    I figured it out. There is a difference between the code posted and the code in the screenshot.

    That code from the screenshot works. The other one doesn’t (there are two blanks too many).

    The correct code ist:

    if ( atpos<1 || dotpos<1 || val == ” ) {
    messages.push(arr[’email_field’]);
    }

    Best,
    Flore

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 10, 2017 at 12:31

    Hello, @Dousseaud,

    I’m glad that you sorted out.

    Regards,
    Rose Tyler.

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.