Automatic Customer notification on status change

  • Posts: 5
  • Thank you received: 0
1 year 2 weeks ago #285159

-- HikaShop version -- : HikaShop Business: 3.2.1
-- Joomla version -- : Joomla! 3.8.2

A quick question.
How to change default "Notify customer" button (popup window after status change) to yes?
I'm trying to shorten whole managment process when order is taken down to minimum steps.
(only 3 status opions :create, confirm, ready, so each one is for admin, and for cutomer)

Thank U Very much.

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

  • Posts: 64471
  • Thank you received: 9312
1 year 2 weeks ago #285160


You want to edit the file "notification" of the view "order" via the menu Display>Views.
There, 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	); ?>
<?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	); ?>
and change the line:
<td colspan="2" id="notification_area" style="display:none">
<td colspan="2" id="notification_area">

The following user(s) said Thank You: freshtomato

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

Time to create page: 0.067 seconds
Powered by Kunena Forum