- Posts: 91
- Thank you received: 5
Order status - to set default Inform Client to Yes
10 years 7 months ago #231794
by bolando
Order status - to set default Inform Client to Yes was created by bolando
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : chrome last
I would like to set the default option when changing status of the Order to "Yes - Inform client". Now it is set to No.
See the attached file.
In which PHP file can I find this code? Thank you.
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : chrome last
I would like to set the default option when changing status of the Order to "Yes - Inform client". Now it is set to No.
See the attached file.
In which PHP file can I find this code? Thank you.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #231817
by nicolas
Replied by nicolas on topic Order status - to set default Inform Client to Yes
Hi,
Change the line:
<?php echo JHTML::_('hikaselect.booleanlist', "data[order][history][history_notified]" , 'onchange="var display=\'none\'; if(this.value==1)display=\'\';document.getElementById(\'notification_area\').style.display=display;"',0 ); ?>
to:
<?php echo JHTML::_('hikaselect.booleanlist', "data[order][history][history_notified]" , 'onchange="var display=\'none\'; if(this.value==1)display=\'\';document.getElementById(\'notification_area\').style.display=display;"',1 ); ?>
in the file "notification" of the view "order" via the menu Display>Views.
Change the line:
<?php echo JHTML::_('hikaselect.booleanlist', "data[order][history][history_notified]" , 'onchange="var display=\'none\'; if(this.value==1)display=\'\';document.getElementById(\'notification_area\').style.display=display;"',0 ); ?>
to:
<?php echo JHTML::_('hikaselect.booleanlist', "data[order][history][history_notified]" , 'onchange="var display=\'none\'; if(this.value==1)display=\'\';document.getElementById(\'notification_area\').style.display=display;"',1 ); ?>
in the file "notification" of the view "order" via the menu Display>Views.
The following user(s) said Thank You: bolando
Please Log in or Create an account to join the conversation.
10 years 7 months ago #231932
by bolando
Replied by bolando on topic Order status - to set default Inform Client to Yes
Thanks, it works!
Please Log in or Create an account to join the conversation.
Time to create page: 0.160 seconds