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?
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>
<h2>Instructions sent with the order confirmation email</h2>
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
When I change:
Code: Select all
if ($comment && $notify) {
$template->data['comment'] = nl2br($comment);
} else {
$template->data['comment'] = '';
}
Code: Select all
if ($comment && $notify) {
$template->data['comment'] = ($order_query->row['comment'] . '<br /><br />' . nl2br($comment));
} else {
$template->data['comment'] = '';
}
How did you get it to work andrixx?
Cheers
Amrit
Bank transfer info in email:
catalog/model/checkout/order.php
Find:
Code: Select all
$template->data['totals'] = $order_total_query->rows;
Code: Select all
$template->data['comment'] = ($order_info['comment'] . '<br />' . nl2br($comment));
Find:
Code: Select all
<p><?php echo $text_footer; ?></p>
Code: Select all
<p><?php echo $comment; ?></p>
Find:
Code: Select all
$comment = $this->language->get('text_instruction') . "\n\n";
Code: Select all
$comment .= $this->language->get('text_description') . "\n\n";
Ok, thanks...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:Under it place:Code: Select all
$template->data['totals'] = $order_total_query->rows;
catalog/view/theme/default/template/mail/order.tplCode: Select all
$template->data['comment'] = ($order_info['comment'] . '<br />' . nl2br($comment));
Find:Above this place:Code: Select all
<p><?php echo $text_footer; ?></p>
catalog/controller/payment/bank_transfer.phpCode: Select all
<p><?php echo $comment; ?></p>
Find:Under it place:Code: Select all
$comment = $this->language->get('text_instruction') . "\n\n";
For me this is working all info is now the email.Code: Select all
$comment .= $this->language->get('text_description') . "\n\n";
Good idea...!
Batik Asli Jawa Tengah || Tempatnya Belajar Online ||
Tempat Belajar Webdesain
Only one found. Editing core files while this code may be working but rather apply these modifications from VQMod.I use opencart 1.5.1.1 and I'm not a programmer so if there is a mistake please correct me.
Attachments
Payment Comments Email originally instructed by Pinquin for OpenCart v1.5.x releases.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Like the check payment module with "payable to"
Thanks for explaining.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Please advise where this should go and how.
Thank you very much
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
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.straightlight wrote:Added to to-do list.
Sent from my iPhone using Tapatalk - now Free
Users browsing this forum: No registered users and 120 guests