• Hello,

    the variable {{ customer.name }} as well as {{ customer.first_name }} and {{ customer.last_name }} show a wrong name in the current version, the variables {{ order.billing_formatted_address }} and {{ order.shipping_formatted_address }} however contain the correct name and address.

    Here are some screenshots:

    What happened here?

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Bartek

    (@bartj)

    Hi @zappob

    The issue is related to ShopMagic after 3.0 release or in general?

    There are chances that customer.name and order.billing_name diverge because a customer is stored once per account by ShopMagic, meaning that if some customer (registered or retreived by cookies) uses different name for a billing details than before, those will be displayed as order.billing_* and customer.name is not updated (on purpose).

    For such cases, it may be more advisable to use order-related placeholders, if you would rather rely on present details, not those which we associate with original customer.

    • This reply was modified 1 year, 9 months ago by Bartek.
    Thread Starter ZappoB

    (@zappob)

    This error was introduced in V.3.0.7 or .8, in earlier 3 versions the name was still given correctly. I am not sure of the sub-version number, but it should be in this range.

    I always use my user for tests, nothing has changed here. “Chattie s.” is a user that was only created for a chat system and has nothing to do with my account and therefore should not be displayed as {{ customer.name }}.

    EDIT: i have found the connection: in the test orders i use the same mail address that the user “Chattie s.” has assigned. This may be inappropriate, but it did not lead to this error in the earlier versions <.6 of ShopMagic.

    Has something been changed here so that the {{ customer.name }} is no longer taken from the actual address, but from “any” user with this mail address?

    EDIT2: it seems you are now using the account username rather than the first and last name of the address. This sounds very unprofessional when the customer is greeted with “Hello username1234” instead of “Hello firstname lastname”.

    • This reply was modified 1 year, 9 months ago by ZappoB.
    • This reply was modified 1 year, 9 months ago by ZappoB.
    • This reply was modified 1 year, 9 months ago by ZappoB.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘{{ customer.name }} showing wrong name’ is closed to new replies.