Edit Invoices

  • Posts: 41
  • Thank you received: 1
10 years 6 months ago #152608

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi

I have a few questions regarding the layout/style of the invoices:

  1. How can I add the customer email address to the invoice?
  2. How can I add the payment status to the shipping invoice?
  3. The date sometimes fall onto two lines, how can I prevent this?

Thanks

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #152648

Hi,

You have to edit the view "order / show" in the frontend template and use the following code:

1.

<?php echo $this->element->customer->user_email; ?>
2.
<?php echo $this->element->order_status; ?>
3. You can edit the html or add your own css properties to prevent this.

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

  • Posts: 41
  • Thank you received: 1
10 years 5 months ago #155903

I have edited the view "order/show" but the changes do not appear to show?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 5 months ago #155907

Hi,

So you are maybe talking about the invoice from the backend, so you have to edit the view "order / invoice" in the backend template. And do modifications similar than the given one, the variables can be different.

The following user(s) said Thank You: signpost

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

  • Posts: 28
  • Thank you received: 1
10 years 3 months ago #162775

Hello Xavier, I have a similar question.

I need to show the logo on the top left corner of the invoice.

So I know which file I must edit.

Can you give me the php code that I have to insert there ?

Thank you

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

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #162779

Hi,

HTML code should be enough, code like:

<img src="image_path.jpg" alt="logo" />

The following user(s) said Thank You: ninon

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

  • Posts: 28
  • Thank you received: 1
10 years 3 months ago #163038

Bonne pioche ! réponse adaptée, le logo figure bien sur ma facture, ainsi que le nom de la société.

code saisi :
<div class="brand pull-left">
<img src="/images/logobleu.jpg" alt="Les Éditions du Mont-Blanc" />
<h3>nom de la société</h3>
</div>

Merci Xavier

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

Time to create page: 0.066 seconds
Powered by Kunena Forum