I did it now in a very simple way.
Created an override of view->info->default.php
NEar the the call of the paymentInfoI added the following linesCode:
$paymentDescription = PhocacartPayment::getInfoDescriptionById((int)$this->t['infodata']['payment_id']);
After that lines the original code continuesCode:
$order = new PhocacartOrderView();$common= $order->getItemCommon($this->t['infodata']['order_id']);$orderNumber= PhocacartOrder::getOrderNumber($this->t['infodata']['order_id'], $common->date, $common->order_number);$bas= $order->getItemBaS($this->t['infodata']['order_id'], 1);//$totalBrutto= $order->getItemTotal($orderId, 0, 'brutto');$r = PhocacartText::prepareReplaceText($order, $this->t['infodata']['order_id'], $common, $bas);$paymentDescription = PhocacartText::completeText($paymentDescription,$r);
Now you can use every placeholder like in the email contents.Code:
if ($paymentDescription != '') { echo '<div class="ph-info-payment-description">'.HTMLHelper::_('content.prepare', $paymentDescription).'</div>'; }
For me it was very important to show some paymentinformations,
because sometimes my infomails got filtered by the SPAM-System and my customers don't always know where to find the SPAM-Folder![]()
Maybe this helps somebody else, or maybe it find its way into the core files.
I followed your instructions but could not reproduce result

Statistics: Posted by Nidzo — 16 May 2024, 18:24