Skip to main content

a custom field response strangly

More
11 years 3 months ago #205408 by BluepointWebdesign
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.x
-- Error-message(debug-mod must be tuned on) -- : custom fields respond strange..

Good morning,
We have some custom fields and in one of them people should be able and are able to fill in the word "contact or Contact" but when this is done we get the following response on the checkout. First the name of the custom field and then the following sentence: Gelieve ons te contacteren op %s instead of just the word contact..
can someone help us or tell us why????

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

More
11 years 3 months ago #205412 by nicolas
Hi,

Could you provide a screenshot of the settings of your custom field ?

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

More
11 years 3 months ago #205497 by BluepointWebdesign
Hi,

Here you see the screenshots... hope you can help :(

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

More
11 years 3 months ago #205760 by nicolas
Hi,

I see what is the issue. That's because the field system tries to translate the word with the available translations.

Change the line:
if($field->field_table=='address') return $value;
to:
if(in_array($field->field_table,array('address','order','item'))) return $value;
in the file administrator/components/com_hikashop/classes/field.php and that should avoid the problem.

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

More
11 years 3 months ago #206076 by BluepointWebdesign
I'm sorry for the late response... but you solution is working GREAT!
Thanks for your great help! Loving Hikashop and his good support :)

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

Time to create page: 0.335 seconds
Powered by Kunena Forum