- Posts: 41
- Thank you received: 1
Edit Invoices
12 years 5 months ago #152608
by signpost
Edit Invoices was created by signpost
-- 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:
Thanks
-- 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:
- How can I add the customer email address to the invoice?
- How can I add the payment status to the shipping invoice?
- The date sometimes fall onto two lines, how can I prevent this?
Thanks
Please Log in or Create an account to join the conversation.
12 years 5 months ago #152648
by Xavier
Replied by Xavier on topic Edit Invoices
Hi,
You have to edit the view "order / show" in the frontend template and use the following code:
1.
2.
3. You can edit the html or add your own css properties to prevent this.
You have to edit the view "order / show" in the frontend template and use the following code:
1.
Code:
<?php echo $this->element->customer->user_email; ?>
Code:
<?php echo $this->element->order_status; ?>
Please Log in or Create an account to join the conversation.
12 years 4 months ago #155903
by signpost
Replied by signpost on topic Edit Invoices
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.
12 years 4 months ago #155907
by Xavier
Replied by Xavier on topic Edit Invoices
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.
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.
12 years 2 months ago #162775
by ninon
Replied by ninon on topic Edit Invoices
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
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.
12 years 2 months ago #162779
by Xavier
Replied by Xavier on topic Edit Invoices
Hi,
HTML code should be enough, code like:
HTML code should be enough, code like:
Code:
<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.
12 years 2 months ago #163038
by ninon
Replied by ninon on topic Edit Invoices
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
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.231 seconds