Skip to main content

Order status - to set default Inform Client to Yes

More
10 years 7 months ago #231794 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.

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

More
10 years 7 months ago #231817 by nicolas
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.
The following user(s) said Thank You: bolando

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

More
10 years 7 months ago #231932 by bolando
Thanks, it works!

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

Time to create page: 0.160 seconds
Powered by Kunena Forum