Automatic Customer notification on status change

  • Posts: 5
  • Thank you received: 0
6 years 10 months ago #285159

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

Hello,
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.
regards
Wojtek

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 10 months ago #285160

Hi,

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	); ?>
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	); ?>
and change the line:
<td colspan="2" id="notification_area" style="display:none">
to:
<td colspan="2" id="notification_area">

www.hikashop.com/support/documentation/1...-display.html#layout

The following user(s) said Thank You: freshtomato

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

Time to create page: 0.057 seconds
Powered by Kunena Forum