What is this post really about?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Well, as I already stated. I want the order ID to show up during checkout. It only gives payment details in the text. I had a small free extension in OC1.5 which when you put in , in the payment details of Banktransfer the code %order_ID% , this would be part of the text of the banktransfer. Like : please transfer to above mentioned amount together with order-reference %order_ID% (so invoice number) to SEPA accountnumber ...blablabla
This one's a little bit trickier. Could be achieved with OCMod / VQMod. In catalog/controller/extension/payment/bank_transfer.php file,
find:
replace with:
Then, in your catalog/language/<your_language>/extension/payment/bank_transfer.php file,
replace:
with:
Then, clear your OC cache. This should resolved the issue.
find:
Code: Select all
$comment .= $this->language->get('text_payment');
Code: Select all
if (isset($this->session->data['order_id'])) {
$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);
if ($order_info) {
$comment .= sprintf($this->language->get('text_payment'), $order_info['order_id']);
}
}
replace:
Code: Select all
$_['text_payment'] = 'Your order will not ship until we receive payment.';
Code: Select all
$_['text_payment'] = 'Your order ID: %s will not ship until we receive payment.';
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
unfortunally notstraightlight wrote: ↑Tue Nov 03, 2020 10:16 pmThe modifications above will show you the order ID in the text_payment key.
Ok.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 160 guests