Skip to main content

Automatic Confirmed email with attaching invoice

14 years 3 months ago #58200 by eyescream
Hi Nicolas,

One question :

How can i set by default notify by email when i change Created to Confirmed in check payment orders

I can't find out

I've purchased Attaching Invoice and i have only Check Payment for products.

Thanks

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

14 years 3 months ago #58205 by Mohamed Thelji
Hello,

I think that you'll have to :

- Go to"Hikashop->System->Emails"
- Enable the "Order creation notification" email

Note that this feature is available only for the business version of hikashop

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

14 years 3 months ago #58208 by eyescream
Hi,

I have the business one

Customer receive autmatically email for order created.

But When i switch Created to Confirmed (when check reception) i have to select Yes on Notify by email.
It is set by default on No

Thanks

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

14 years 3 months ago #58237 by eyescream
Is it possible to set it by Default on Yes ?

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

14 years 3 months ago #58320 by nicolas
Yes. You will need to edit the file "notification" of the view "order" for your back end template and change the line:
<?php echo JHTML::_('select.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::_('select.booleanlist', "data[order][history][history_notified]" , 'onchange="var display=\'none\'; if(this.value==1)display=\'\';document.getElementById(\'notification_area\').style.display=display;"',1 ); ?>

and the line:
<td colspan="2" id="notification_area" style="display:none">
to:
<td colspan="2" id="notification_area">
The following user(s) said Thank You: dvddvd

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

13 years 2 months ago #122249 by dvddvd

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

11 years 2 months ago #213495 by dvddvd
Hello, on the new version of hikashop bussiness, the code is different and y don´t know what must to do.
How should I do to make it marked the check ?
Thanks

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

11 years 2 months ago #213506 by nicolas
Hi,

You want to edit the file "show_general" for your backend template via the menu Display>Views and change the code:
Code:
<td><input type="checkbox" id="data[notify]" name="data[notify]"/><label style="display:inline-block" for="data[notify]"><?php echo JText::_('NOTIFY_CUSTOMER'); ?></label></td>
to:
Code:
<td><input type="checkbox" id="data[notify]" name="data[notify]" checked="checked"/><label style="display:inline-block" for="data[notify]"><?php echo JText::_('NOTIFY_CUSTOMER'); ?></label></td>

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

Time to create page: 0.063 seconds
Powered by Kunena Forum