Custom Fields appearing in admin notifications but not customer notifications

  • Posts: 176
  • Thank you received: 5
  • Hikashop Business
5 years 11 months ago #291840

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.6
-- PHP version -- : 7

We have a few custom fields defined in checkout. These are coming through fine in the admin notification emails, but are not coming through to the customer notifications. I looked at the html templates for both and they seem to be the same.

The fields are restricted to only show up for specific user groups in checkout. Is this somehow causing them to not appear in the employee emails?

Please advise.

Thank you,
Dustin

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

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
5 years 11 months ago #291858

Hi,

Please check the display settings of your custom fields. They have specific display settings for each email so it's possible to disable their display for some emails and not others.
Also, it could well come from an override of the emails if they are from before HikaShop 3.
You have such line in the preload of the emails which loads the custom fields allowed to be displayed with the name of the email:
$fields = $fieldsClass->getFields('display:mail_order_creation=1',$data->cart,'order','');
Before HikaShop 3, you didn't had different options for different emails and thus the part 'display:mail_order_creation=1' was different and it's not compatible with the new options.

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

Time to create page: 0.049 seconds
Powered by Kunena Forum