- Posts: 84
- Thank you received: 9
Invoice in Frontend is Different to Invoice in backend
9 years 3 months ago - 9 years 3 months ago #271852
by huwhuw
Invoice in Frontend is Different to Invoice in backend was created by huwhuw
Hi I have modified the invoice file
order / invoice.php to include some custom fields as follows
This places a name and date of birth into my invoice when i click on the "invoice" button in the backend.
Display>Frontend is set to Yes on the fields
However the customer invoice accessed via Account Details > Orders in the frontend does not contain my custom fields - its opening the following URL
xxxx/order/invoice/order_id-6/tmpl-component.html
How can I locate / edit the frontend invoice file please.
order / invoice.php to include some custom fields as follows
Code:
<?php echo $this->order->customer->student; ?> | <?php echo $this->order->customer->dob; ?>
Display>Frontend is set to Yes on the fields
However the customer invoice accessed via Account Details > Orders in the frontend does not contain my custom fields - its opening the following URL
xxxx/order/invoice/order_id-6/tmpl-component.html
How can I locate / edit the frontend invoice file please.
Related posts
www.hikashop.com/forum/2-general-talk-ab...hipping-invoice.html
www.hikashop.com/forum/orders-management...-invoice-orders.html
Last edit: 9 years 3 months ago by huwhuw.
Please Log in or Create an account to join the conversation.
9 years 3 months ago - 9 years 3 months ago #271870
by Philip
Replied by Philip on topic Invoice in Frontend is Different to Invoice in backend
Last edit: 9 years 3 months ago by Philip.
The following user(s) said Thank You: huwhuw
Please Log in or Create an account to join the conversation.
9 years 3 months ago - 9 years 3 months ago #272079
by huwhuw
Replied by huwhuw on topic Invoice in Frontend is Different to Invoice in backend
Hi I tried modifying that file order / show.php but it has no effect on the popup / print output for the invoice in the frontend
e.g i commented out the php on line 108 but the Lang entry still loads in the print invoice
<legend style="background-color: #FFFFFF;"><?//php echo JText::_('HIKASHOP_BILLING_ADDRESS'); ?></legend>
UPDATE - SORRY IT WORKS I HAD TO PICK THE SHOW.PHP FILE RELATED TO MY FRONTEND TEMPLATE!
thanks for the help.
e.g i commented out the php on line 108 but the Lang entry still loads in the print invoice
<legend style="background-color: #FFFFFF;"><?//php echo JText::_('HIKASHOP_BILLING_ADDRESS'); ?></legend>
UPDATE - SORRY IT WORKS I HAD TO PICK THE SHOW.PHP FILE RELATED TO MY FRONTEND TEMPLATE!
thanks for the help.
Last edit: 9 years 3 months ago by huwhuw.
Please Log in or Create an account to join the conversation.
Time to create page: 0.170 seconds