Order status - to set default Inform Client to Yes

  • Posts: 91
  • Thank you received: 5
8 years 8 months ago #231794

-- 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.

Attachments:

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 8 months ago #231817

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.

  • Posts: 91
  • Thank you received: 5
8 years 8 months ago #231932

Thanks, it works!

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

Time to create page: 0.036 seconds
Powered by Kunena Forum