Page 1 of 1

[Solved] Enable by default "Notify Customer" and

Posted: Mon Nov 28, 2011 5:18 pm
by bo4man
Hi gusy,

I need your help I have the following two questions:

1. How can I add new field in the file order_invoice.tpl, which is static, just the company wants to add their registration under the name of the company.

2. How can the following default field is always checked (enable

Re: [Solved] Enable by default "Notify Customer" and

Posted: Tue Nov 29, 2011 10:02 am
by Qphoria
For the first one...

1. EDIT:
admin/view/template/sale/order_invoice.tpl

2. FIND:

Code: Select all

<?php echo $order['store_name']; ?><br />
3. AFTER, ADD:

Code: Select all

12345678<br />
replace the number part with your registration number


For the second one...

1. EDIT:
admin/view/template/sale/order_info.tpl

2. FIND:

Code: Select all

<input type="checkbox" name="notify" value="1" />
3. REPLACE WITH:

Code: Select all

<input type="checkbox" name="notify" value="1" checked="checked" />

Re: [Solved] Enable by default "Notify Customer" and

Posted: Tue Mar 20, 2012 7:28 pm
by s31teg
Qphoria wrote:For the first one...

1. EDIT:
admin/view/template/sale/order_invoice.tpl

2. FIND:

Code: Select all

<?php echo $order['store_name']; ?><br />
3. AFTER, ADD:

Code: Select all

12345678<br />
replace the number part with your registration number


For the second one...

1. EDIT:
admin/view/template/sale/order_info.tpl

2. FIND:

Code: Select all

<input type="checkbox" name="notify" value="1" />
3. REPLACE WITH:

Code: Select all

<input type="checkbox" name="notify" value="1" checked="checked" />

thanks for the 2nd part of this!

Re: [Solved] Enable by default "Notify Customer" and

Posted: Mon Apr 02, 2012 9:18 am
by Ozfarmer
Thanks Q, that helped me as well!

Re: [Solved] Enable by default "Notify Customer" and

Posted: Fri Nov 19, 2021 5:26 pm
by aerogel
Qphoria
thanks
helped me as well.