Custom field value always displayed in lowercase

  • Posts: 12
  • Thank you received: 0
  • Hikashop Multisite
2 years 4 months ago #345347

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.2.3
-- PHP version -- : 7.4
-- Browser(s) name and version -- : FF 105.0.1

I have a custom field of type Single Dropdown where one of the FIELD_DATA titles is 'MM'. On the frontend, this is displayed as 'mm'. Other titles ion the same dropdown contain values with double capitals as well and are correctly displayed in the frontend.

How can I have the title MM be displayed correctly as MM and not as mm ?

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

  • Posts: 83338
  • Thank you received: 13476
  • MODERATOR
2 years 4 months ago #345356

Hi,

MM is a translation key of HikaShop with the line:
MM="mm"

(for the credit card month input field)

So change MM to something else, like MY_MM and then add the translation override:
MY_MM="MM"
and you'll get MM on the frontend.
www.hikashop.com/download/languages.html#modify

The following user(s) said Thank You: E. van Doorne

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

  • Posts: 12
  • Thank you received: 0
  • Hikashop Multisite
2 years 4 months ago #345373

Thank you Nicolas, that's a nice workaround :)

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

Time to create page: 0.052 seconds
Powered by Kunena Forum