- Posts: 4
- Thank you received: 0
Create print invoice button on complete order page
- Luigi
- Topic Author
- Offline
- New Member
-
Less
More
8 years 9 months ago #82054
by Luigi
Create print invoice button on complete order page was created by Luigi
Good morning at all community,
I've a big problem to create a button for invoice printing after i complete the order. The page is
com_eshop/themes/default/views/checkout/complete.php
I've insert the following code to the button to create a print page:
<?php
$order = $this->orderInfor ;
$orderId = JRequest::getInt('order_id');
$utente = JFactory::getUser();
?>
<a class="btn btn-primary" href="<?php echo JRoute::_('index.php?option=com_eshop&task=customer.downloadInvoice&id='.intval($order->id).'&customer_id='.intval($utente->get('id'))); ?>" title="<?php echo JText::_('ESHOP_DOWNLOAD'); ?>"><?php echo JText::_('ESHOP_DOWNLOAD_INVOICE'); ?></a>
Please help me
I've a big problem to create a button for invoice printing after i complete the order. The page is
com_eshop/themes/default/views/checkout/complete.php
I've insert the following code to the button to create a print page:
<?php
$order = $this->orderInfor ;
$orderId = JRequest::getInt('order_id');
$utente = JFactory::getUser();
?>
<a class="btn btn-primary" href="<?php echo JRoute::_('index.php?option=com_eshop&task=customer.downloadInvoice&id='.intval($order->id).'&customer_id='.intval($utente->get('id'))); ?>" title="<?php echo JText::_('ESHOP_DOWNLOAD'); ?>"><?php echo JText::_('ESHOP_DOWNLOAD_INVOICE'); ?></a>
Please help me
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
8 years 9 months ago #82181
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Create print invoice button on complete order page
Hello Luigi,
We don't support to place the print invoice button there. Why do you need that why customer got the notification email with the attached invoice there?
Sincerely, Giang
We don't support to place the print invoice button there. Why do you need that why customer got the notification email with the attached invoice there?
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Luigi
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
8 years 9 months ago #82189
by Luigi
Replied by Luigi on topic Create print invoice button on complete order page
The problem is that the component eshop it was adapted on a web site that use multiple user that generate the order and need for this user to print an invoice immediately if need in the order review when accept the order.
Please if you can help me....
Please if you can help me....
Please Log in or Create an account to join the conversation.
- Luigi
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
8 years 9 months ago #82261
by Luigi
Replied by Luigi on topic Create print invoice button on complete order page
Anybody there for an help please?
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.