Add to invoice

  • Posts: 38
  • Thank you received: 0
9 years 4 months ago #235097

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.5.0

I need more information automatically generated to show on the printed invoice. How do I add the Main ID # and the Email to the invoice?

Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #235105

Hi,

We also need more information to be able to answer you :)
Which invoice are your talking about ?
The one you print in the backend ? The one you print in the frontend ?
The one which is attached to notification emails ?
Are you using the PDF invoice plugin ?
What "main ID" are you talking about ? The order id ? The invoice id ? The user id ? Another id ?

Please Log in or Create an account to join the conversation.

  • Posts: 38
  • Thank you received: 0
9 years 4 months ago #235132

The backend, in the order itself at the top is an invoice button. We use this to print.
The PGF plugin is on so i'm not sure if it is being used or if this comes with the normal functions of hikashop.
When in the order before going to the invoice, the first section is Main. The number there is what we need to add to the invoice.

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #235135

Hi,

Could you provide a screenshot of the invoice screen so that we can make sure that we provide the correct instructions ?

In the main section of an order there is the "order number", the "invoice number" and a number for the id of the order. Which one do you want ?

Please Log in or Create an account to join the conversation.

  • Posts: 38
  • Thank you received: 0
9 years 4 months ago #235255

The ID of the the order is what we need please.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #235256

Hi,

So you want to edit the file "invoice" of the view "order" for your backend template via the menu Display>Views. There you can add such code:
<?php echo $this->element->order_id; ?>
where you want to display the order id.

The following user(s) said Thank You: deziroo

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum