• Resolved vdanielr1

    (@vdanielr1)


    The notification with all data is displayed correctly, except for the customer’s name, for example: “someone” from Azcapotzalco, Mexico bought Coca Cola.

    How can I get the name displayed?

    The message configuration is: {{first_name}} from {{city}}, {{country}} bought {{product_name}}.

    Thanks for the help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vdanielr1

    (@vdanielr1)

    Hello again.

    I have solved the problem, at least for the moment, I do not know if after some update the error reappears.

    This is a “)” in the wrong place in the file “class-mabel-rpnlite-admin.php”

    Line with error
    $ Buyer [‘name’] = strlen ($ order [‘_ billing_first_name’] [0]> 0)?

    Corrected Line
    $ Buyer [‘city’] = strlen ($ order [‘_ billing_city’] [0])> 0?

    The line is within the function:
    Private function createBuyerArray ($ order)

    Jake

    (@jake2townz)

    Thank you. That solved my problem. The corrected line should be:

    $ Buyer [‘name’] = strlen ($ order [‘_ billing_first_name’] [0]) > 0?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customer name is not displayed’ is closed to new replies.