Post by Qphoria » Tue Sep 06, 2011 10:57 pm

I added it in 1.4.9.x but it looks like it was removed in 1.5.x
I'll see about adding it back

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by ArtHulavi » Wed Oct 05, 2011 4:52 pm

Does anybody have a fix for this for 1.5? I can't get this (bank transfer as comments in confirmation e-mail) to work on 1.5

Newbie

Posts

Joined
Sat Dec 04, 2010 4:50 am

Post by andrixx » Wed Oct 12, 2011 3:05 am

This works, the comment get passed to the order confirmation email.

But I don't want the message to me displayed when they are about to confirm the order.

First of all they have to write the order ID as a message to my bank and that is not shown when you should confirm the order at checkout. And they might start to write that info down when they don't need to.

It's just better to just let the comment be in the email.

also a good thing to do should be where you select bank transfer it should be a br and a text that say that bank transfer information get sent to the email.


Can anyone help me remove this comment from the checkout?

New member

Posts

Joined
Sat Jun 18, 2011 7:23 pm

Post by andrixx » Wed Oct 12, 2011 3:42 am

I did the following:

edited catalog/view/theme/default/template/payment/bank_transfer.tpl

I removed

Code: Select all

<h2><?php echo $text_instruction; ?></h2>
<p><?php echo $text_description; ?></p>
<p><?php echo $bank; ?></p>
<p><?php echo $text_payment; ?></p>
and added

<h2>Instructions sent with the order confirmation email</h2>

New member

Posts

Joined
Sat Jun 18, 2011 7:23 pm

Post by original » Thu Nov 10, 2011 6:37 pm

Hi

I have opencart 1.5.1.2 and my customers don't get this bank transfer information inside the confirmation email. This is really a big headache for me and my customers, so I hope someone will help me with this.

Any ideas, anyone?

Thanks

New member

Posts

Joined
Mon Sep 12, 2011 8:08 pm

Post by Amrit » Thu Dec 15, 2011 5:25 am

I tried changing as suggested, but I can't get it to function properly.

When I change:

Code: Select all

if ($comment && $notify) {
				$template->data['comment'] = nl2br($comment);
			} else {
				$template->data['comment'] = '';
			}
to:

Code: Select all

if ($comment && $notify) {
				$template->data['comment'] = ($order_query->row['comment'] . '<br /><br />' . nl2br($comment)); 
			} else {
				$template->data['comment'] = '';
			}
I do get the comments field to display in the email, but it contains no data.

How did you get it to work andrixx?

Cheers
Amrit

Newbie

Posts

Joined
Fri Apr 01, 2011 11:33 pm

Post by Pinquin » Fri Dec 30, 2011 4:28 am

I use opencart 1.5.1.1 and I'm not a programmer so if there is a mistake please correct me.

Bank transfer info in email:

catalog/model/checkout/order.php
Find:

Code: Select all

$template->data['totals'] = $order_total_query->rows;
Under it place:

Code: Select all

$template->data['comment'] = ($order_info['comment'] . '<br />' . nl2br($comment));
catalog/view/theme/default/template/mail/order.tpl
Find:

Code: Select all

<p><?php echo $text_footer; ?></p>
Above this place:

Code: Select all

<p><?php echo $comment; ?></p>
catalog/controller/payment/bank_transfer.php
Find:

Code: Select all

$comment  = $this->language->get('text_instruction') . "\n\n";
Under it place:

Code: Select all

$comment .= $this->language->get('text_description') . "\n\n";
For me this is working all info is now the email.

Newbie

Posts

Joined
Fri Dec 30, 2011 3:58 am

Post by cintabatik » Thu Jan 12, 2012 2:12 pm

Pinquin wrote:I use opencart 1.5.1.1 and I'm not a programmer so if there is a mistake please correct me.

Bank transfer info in email:

catalog/model/checkout/order.php
Find:

Code: Select all

$template->data['totals'] = $order_total_query->rows;
Under it place:

Code: Select all

$template->data['comment'] = ($order_info['comment'] . '<br />' . nl2br($comment));
catalog/view/theme/default/template/mail/order.tpl
Find:

Code: Select all

<p><?php echo $text_footer; ?></p>
Above this place:

Code: Select all

<p><?php echo $comment; ?></p>
catalog/controller/payment/bank_transfer.php
Find:

Code: Select all

$comment  = $this->language->get('text_instruction') . "\n\n";
Under it place:

Code: Select all

$comment .= $this->language->get('text_description') . "\n\n";
For me this is working all info is now the email.
Ok, thanks...
Good idea...!
:banana: :banana: :banana:

Batik Asli Jawa Tengah || Tempatnya Belajar Online ||
Tempat Belajar Webdesain


New member

Posts

Joined
Thu Jan 12, 2012 12:54 pm

Post by straightlight » Thu Jan 12, 2012 10:55 pm

I use opencart 1.5.1.1 and I'm not a programmer so if there is a mistake please correct me.
Only one found. Editing core files while this code may be working but rather apply these modifications from VQMod. :)

Attachments

Payment Comments Email originally instructed by Pinquin for OpenCart v1.5.x releases.


The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Mike Guenther » Sat Feb 11, 2012 12:12 am

How does "payment_comments_email.xml" work?

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by straightlight » Sat Feb 11, 2012 12:18 am

You must install VQMod to use this XML file.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Mike Guenther » Sat Feb 11, 2012 12:20 am

I use VQ mod, but where do I go to see this mod or use it? i have it installed, but dont know where to go on the admin side to use it?

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by straightlight » Sat Feb 11, 2012 12:24 am

As described on the above, these modifications are directly affected from the checkout process and nothing to do specifically under the admin.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Mike Guenther » Sat Feb 11, 2012 12:26 am

oh, I guess I misunderstood what this was for. I thought this was a mod that allowed the webmaster to add a comment for the payment type that would be passed on through the email to the customer.

Like the check payment module with "payable to"

Thanks for explaining.

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by straightlight » Sat Feb 11, 2012 12:29 am

While this idea may be a good one, what if the added comment by payment type would have to be differed according to the merchant's preferences ? ;)

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Gamesol » Thu Sep 05, 2013 6:30 pm

Hello All, I want ad an extra line of text into the email only that wont be displayed on the checkout page.

Please advise where this should go and how.


Thank you very much

User avatar
New member

Posts

Joined
Fri May 31, 2013 5:34 pm

Post by Gamesol » Fri Sep 06, 2013 3:00 am

@qphoria @straightlight ?


Sent from my iPhone using Tapatalk - now Free

User avatar
New member

Posts

Joined
Fri May 31, 2013 5:34 pm

Post by straightlight » Fri Sep 13, 2013 11:39 pm

Added to to-do list.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com contractor officials representative


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Gamesol » Tue Sep 17, 2013 4:09 am

straightlight wrote:Added to to-do list.
Hi, if this reply was meant for me, thank you for taking the time to respond, I didn't realise it wasn't a small job but I have found a work around so it's not that urgent as you guys are very busy with more pressing issues, when I place orders for people, I just ad the custom text into the comments and it seems to be working as nobody is confused anymore.


Sent from my iPhone using Tapatalk - now Free

User avatar
New member

Posts

Joined
Fri May 31, 2013 5:34 pm
Who is online

Users browsing this forum: No registered users and 5 guests