Post by serkanbalta » Thu Apr 27, 2017 4:29 pm

Hello everyone,
I was looking for a solution like ; when i change order status as Preparing i'm writing a comment in "Comment" section and save the order status. The auto-mail is arriving to customer only as order status like "Your order status has been changed : Preparing". But no comment included.
How can i solve this ? I want to send auto-order status changing with comment section.
Are you guys can help ? :'(
Thanks

User avatar
Newbie

Posts

Joined
Thu Apr 27, 2017 4:18 pm

User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by serkanbalta » Thu Apr 27, 2017 6:21 pm

paulfeakins wrote:
Thu Apr 27, 2017 5:40 pm
Would this do what you need?
https://www.opencart.com/index.php?rout ... n_id=22763
This is exactly what i need. Thank you so much :)

User avatar
Newbie

Posts

Joined
Thu Apr 27, 2017 4:18 pm

Post by IP_CAM » Fri Apr 28, 2017 9:15 am

Just to mention this, I found a very nice v.1.5.6.x VqMod Extension, enabling me to ADD pre-written
Content into the Comment Box, to verbally 'reflect' the individual Status-Information by one Click!
One could so easy implant 'premade' OcMod or VqMod-Sections, to send a matching Info eMail quick.
And since at least the Demo OC2 has no such function yet, I guess, you could find this a very needy thing! ;)
This Search ANCHOR Line below would have to be matching your Version Anchor/Tag Line!
<td><textarea name="comment" cols="40" rows="8" style="width: 99%"></textarea>
---
[vqmod] Customer Comment Template free, OC v.1.5.6.4:
https://www.opencart.com/index.php?rout ... n_id=20940
---
Just an Idea ... :D
Ernie
---
admin_order_status_notify_comment.vqmod.xml

Code: Select all

<file name="admin/view/template/sale/order_info.tpl">
<operation error="log">
<search position="after"><![CDATA[<td><textarea name="comment" cols="40" rows="8" style="width: 99%"></textarea>]]></search>
<add><![CDATA[			
		<div style="margin-top: 10px;">
			<a id="button-template-notify-a" class="button">A Comment</a>&nbsp;
			<a id="button-template-notify-b" class="button">B Comment</a>&nbsp;
			<a id="button-template-notify-c" class="button">C Comment</a>&nbsp;
			<a id="button-template-notify-d" class="button">D Comment</a>&nbsp;
			<a id="button-template-notify-e" class="button">E Comment</a>
					
			<script type="text/javascript"><!--

			$('#button-template-notify-a').live('click', function() {
			var template_msg = 'Dear <?php echo $firstname; ?> <?php echo $lastname; ?>,\n\nThis is the  message A you need to replace\n\nThank You';
			$('textarea[name=\'comment\']').val(template_msg);
			});
					
			$('#button-template-notify-b').live('click', function() {
			var template_msg = 'Dear <?php echo $firstname; ?> <?php echo $lastname; ?>,\n\nThis is the  message B you need to replace\n\nThank You';
			$('textarea[name=\'comment\']').val(template_msg);
			});
					
			$('#button-template-notify-c').live('click', function() {
			var template_msg = 'Dear <?php echo $firstname; ?> <?php echo $lastname; ?>,\n\nThis is the  message C you need to replace\n\nThank You';
			$('textarea[name=\'comment\']').val(template_msg);
			});
					
			$('#button-template-notify-d').live('click', function() {
			var template_msg = 'Dear <?php echo $firstname; ?> <?php echo $lastname; ?>,\n\nThis is the  message D you need to replace\n\nThank You';
			$('textarea[name=\'comment\']').val(template_msg);
			});
				
			$('#button-template-notify-e').live('click', function() {
			var template_msg = 'Dear <?php echo $firstname; ?> <?php echo $lastname; ?>,\n\nThis is the  message E you need to replace\n\nThank You';
			$('textarea[name=\'comment\']').val(template_msg);
			});
			//--></script>
		</div>
]]></add>
</operation>	
</file>	
---
Image
---
Customer eMail Info:

Code: Select all

Order ID: 47
Date Ordered: 27/04/2017

Your order has been updated to the following status:
Processed

To view your order click on the link below:
http://www.bigmax.ch/shop/index.php?route=account/order/info&order_id=47

The comments for your order are:

Dear Benjamin Jacob,
This is the  message D you need to replace
Thank You

Please reply to this email if you have any questions.

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by IP_CAM » Fri Apr 28, 2017 10:20 am

and to round up this, by use of this little free Extension, probably easy to make work
in OC v.2.x as well, one could have the History in the User Section as well ! :D
Ernie
---
Customer See All Notify (VQMOD) free, OC v.1.5.6.x:
https://www.opencart.com/index.php?rout ... n_id=11518
---
Image

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by serkanbalta » Fri Apr 28, 2017 2:40 pm

IP_CAM wrote:
Fri Apr 28, 2017 10:20 am
and to round up this, by use of this little free Extension, probably easy to make work
in OC v.2.x as well, one could have the History in the User Section as well ! :D
Ernie
---
Customer See All Notify (VQMOD) free, OC v.1.5.6.x:
https://www.opencart.com/index.php?rout ... n_id=11518
---
Image
Wow, thank you so much. These informations are gold.
:clap:

User avatar
Newbie

Posts

Joined
Thu Apr 27, 2017 4:18 pm
Who is online

Users browsing this forum: No registered users and 177 guests