How to add address_street2 in the order notification mail

  • Posts: 18
  • Thank you received: 1
  • Hikashop Business Hikashop Essential
2 years 6 months ago #341771

-- HikaShop version -- : 4.5.1
-- Joomla version -- : 4.1.3
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : all browsers
-- Error-message(debug-mod must be tuned on) -- : no error message

Hi,

I want to add the field address->address_street2 in the Billing Address and the Shipping Address that is shown in the order notifications mail.

How to to that? I tried modifying the address / address_template.php view, but it did not work out.

Best regards,
Peter

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 6 months ago #341772

Hi,

You're on the right track.
There are actually two address_template files, one for the frontend and one for the backend.
So you probably modified only one and not the other.
However, it's been years that we've added an "address format" setting under the "Checkout" tab so that you can change the format for both frontend and backend without having to edit views. So I would recommend using that setting instead, it will be easier and less error-prone.

The following user(s) said Thank You: remcovolbeda

Please Log in or Create an account to join the conversation.

Time to create page: 0.046 seconds
Powered by Kunena Forum