Custom field are all in uppercase/capitals

  • Posts: 15
  • Thank you received: 0
13 years 10 months ago #4716

Hi guys,

I have a problem with the custom fields.
Basically what I'd like to do is have Suburb as a required field, however, when I enter the information, it still renders all in capitals i.e. TOWN/SUBURB

I have firebug installed and I can change it on the fly at td class=key but I can't find it anywhere.

Can anyone help?

Regards

Kevin

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #4718

Could you post a screenshot of the problem ?

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

  • Posts: 15
  • Thank you received: 0
13 years 10 months ago #4719

Hi nicolas,

Please find the image attached.

Regards,

Kevin



Update: Apologies for the shoddy image.

It appears on the right on the checkout page.

Attachments:
Last edit: 13 years 10 months ago by tpioh.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #4720

I can't reproduce such problem on my end. Could you also post a screenshot of the options of that custom field ?

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

  • Posts: 15
  • Thank you received: 0
13 years 10 months ago #4721

Hey nic,

On the options page for the fields, it looks fine in the preview.
But when it gets to the front end, it gets all weird.

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 10 months ago #4722

That's because all the custom fields are translatable and the "suburb" string is in the front end translation file of joomla: SUBURB=TOWN/SUBURB
So, when the field is displayed on the front end, the field is translated automatically.
You have several solutions:
1. Change the name of your field. For example, if you enter Suburb  as the title of the field, it should be ok (  is the HTML code for space)
2. Change the joomla translation file languages/enGB/en-GB.ini to remove or modify that translation.
3. Add the line SUBURB="Suburb" in the HikaShop translation file (via the interface in the config under the tab languages) so that it overrides the joomla one.

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

  • Posts: 15
  • Thank you received: 0
13 years 10 months ago #4724

Thanks so much nic.

Never had any sort of service like Hikashop. I'll be recommending this to all my friends.

Thanks once again!

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

Time to create page: 0.074 seconds
Powered by Kunena Forum