- Posts: 41
- Thank you received: 3
payment_description on invoice ?
10 years 3 months ago #242760
by Torsten.E
payment_description on invoice ? was created by Torsten.E
-- url of the page with the problem -- :
www.greenville.ag/shop
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- Error-message(debug-mod must be tuned on) -- : How to show the field "payment_description" on the invoice
How to show the field "payment_description" on the invoice
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- Error-message(debug-mod must be tuned on) -- : How to show the field "payment_description" on the invoice
How to show the field "payment_description" on the invoice
Please Log in or Create an account to join the conversation.
10 years 3 months ago #242782
by nicolas
Replied by nicolas on topic payment_description on invoice ?
Hi,
Are you using the PDF invoice plugin ?
When you say "invoice", are you talking about the invoice you can get in the backend, the one the customer can get in the frontend ? The order notifications ?
Are you using the PDF invoice plugin ?
When you say "invoice", are you talking about the invoice you can get in the backend, the one the customer can get in the frontend ? The order notifications ?
Please Log in or Create an account to join the conversation.
10 years 3 months ago #242804
by Torsten.E
Replied by Torsten.E on topic payment_description on invoice ?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 3 months ago #242808
by Mohamed Thelji
Replied by Mohamed Thelji on topic payment_description on invoice ?
Hello,
To do that the solution will be to directly edit the code of the "Invoice" file of the "Order" view of your back-end template via "Hikashop->Display->Views" and add your code just after these lines :
To do that the solution will be to directly edit the code of the "Invoice" file of the "Order" view of your back-end template via "Hikashop->Display->Views" and add your code just after these lines :
Code:
<?php if(!empty($this->payment)){
echo JText::_('HIKASHOP_PAYMENT_METHOD').' : '.$this->payment->getName($this->order->order_payment_method,$this->order->order_payment_id);
}?>
Please Log in or Create an account to join the conversation.
10 years 3 months ago #242978
by Torsten.E
Replied by Torsten.E on topic payment_description on invoice ?
That is the question. What code exactly that I might get the contents of the table field "PAYMENT_DESCRIPTION" ?
.....$this->payment->getDescripion ...this function does not exist
Torsten.E
.....$this->payment->getDescripion ...this function does not exist
Torsten.E
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 3 months ago #242985
by Mohamed Thelji
Replied by Mohamed Thelji on topic payment_description on invoice ?
Hello,
The solution can be to do an SQL request on the #_hikashop_payment table and retrieve the "payment_description" field of the row which have the payment id equals to : $this->order->order_payment_id
The solution can be to do an SQL request on the #_hikashop_payment table and retrieve the "payment_description" field of the row which have the payment id equals to : $this->order->order_payment_id
Please Log in or Create an account to join the conversation.
Time to create page: 0.251 seconds