- Posts: 515
- Thank you received: 22
custom field not showing
- jouwnaambord.nl
-
Topic Author
- Offline
Less
More
10 years 1 month ago #252783
by jouwnaambord.nl
custom field not showing was created by jouwnaambord.nl
-- url of the page with the problem -- :
www.jouwnaambord.nl/naamborden/aluminium-naambord-zakelijk
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
-- Browser(s) name and version -- : all
Hi,
Just updated to hikashop 2.6.4.
One customfield with expected deliverytime shown is not working properly. It's normaly shown at default and changes when a radiobutton is changed by the user. But now the defaulttext will only popup when the (not default) radiobutton is clicked. Once clicked the text changes as it should. See screenshots.
B.R.
Michel
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
-- Browser(s) name and version -- : all
Hi,
Just updated to hikashop 2.6.4.
One customfield with expected deliverytime shown is not working properly. It's normaly shown at default and changes when a radiobutton is changed by the user. But now the defaulttext will only popup when the (not default) radiobutton is clicked. Once clicked the text changes as it should. See screenshots.
B.R.
Michel
Please Log in or Create an account to join the conversation.
10 years 1 month ago - 10 years 1 month ago #252786
by nicolas
Replied by nicolas on topic custom field not showing
Hi,
Try to add the code:
after the line:
in the file components/com_hikashop/views/product/view.html.php
Try to add the code:
Code:
foreach ($itemFields as $fieldName => $oneExtraField) {
if(empty($element->$fieldName)) {
$element->$fieldName = $oneExtraField->field_default;
}
}
Code:
$itemFields = $fieldsClass->getFields('display:field_item_product_show=1', $element, 'item', 'checkout&task=state');
Last edit: 10 years 1 month ago by nicolas.
The following user(s) said Thank You: jouwnaambord.nl
Please Log in or Create an account to join the conversation.
- jouwnaambord.nl
-
Topic Author
- Offline
Less
More
- Posts: 515
- Thank you received: 22
10 years 1 month ago #252857
by jouwnaambord.nl
Replied by jouwnaambord.nl on topic custom field not showing
Hi Nicolas,
Yes that did the trick, thanks again!
Michel.
Yes that did the trick, thanks again!
Michel.
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds