Skip to main content

Automatic Customer notification on status change

More
8 years 9 months ago #285159 by freshtomato
-- 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.

More
8 years 9 months ago #285160 by nicolas
Hi,

You want to edit the file "notification" of the view "order" via the menu Display>Views.
There, change the line:
Code:
<?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:
Code:
<?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:
Code:
<td colspan="2" id="notification_area" style="display:none">
to:
Code:
<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.196 seconds
Powered by Kunena Forum