- Posts: 110
- Thank you received: 0
Can Logos be added to invoices
- deborahharrison
-
Topic Author
- Offline
Quick question: Can we add our company logo to invoices and shipping invoices? Please advise.
Many thanks
D
Please Log in or Create an account to join the conversation.
Sure. In the config in the option "Your shop address" you can add HTML tags. That way you can add an image on top of your address.
Otherwise, if you want to personalize further your invoices, you will have to go in the menu Display->Views and edit the files invoice and show of the view order.
Please Log in or Create an account to join the conversation.
- deborahharrison
-
Topic Author
- Offline
- Posts: 110
- Thank you received: 0
Hi,
Sure. In the config in the option "Your shop address" you can add HTML tags. That way you can add an image on top of your address.
No it doesn't - it just gets rid of the tags or the address altogether.
Please Log in or Create an account to join the conversation.
$formData=JRequest::getVar( 'config_store_address','','','string',JREQUEST_ALLOWRAW);
It should be:
$formData=JRequest::getVar( 'config_store_address','','','string',JREQUEST_ALLOWRAW);
After that modification, it should work.
Please Log in or Create an account to join the conversation.
- deborahharrison
-
Topic Author
- Offline
- Posts: 110
- Thank you received: 0
Please Log in or Create an account to join the conversation.
You're looking at components/com_hikashop/controllers and not administrator/components/com_hikashop/controllers
Please Log in or Create an account to join the conversation.
- deborahharrison
-
Topic Author
- Offline
- Posts: 110
- Thank you received: 0
However I have a separate problem: The invoice is printing on 2 pages and the 2nd page is blank. How can I stop this.
Please Log in or Create an account to join the conversation.
- deborahharrison
-
Topic Author
- Offline
- Posts: 110
- Thank you received: 0
Remove or comment out
From the bottom of Display > Views > Invoice
Hope this helps.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Is this right? :blink:
Thanks
Please Log in or Create an account to join the conversation.
You could also alternatively add it in the shop address which is displayed on the invoice top left corner.
Please Log in or Create an account to join the conversation.
To stop the 2 pages printing, do we need to remove the code on all the order/show files?
Thanks
Please Log in or Create an account to join the conversation.
That code is in the order show file of the front end and in the order invoice file of the back end. You need to remove it only for the file corresponding to the template you're using (in the back end or in the front end based on the file).
Please Log in or Create an account to join the conversation.
Thanks again Nicolas
Please Log in or Create an account to join the conversation.
What code do I need to add where, and where do I need to upload the logo I want to add in the invoice send to the customer?
Richard
Please Log in or Create an account to join the conversation.
Just go in the configuration of HikaShop, and in the option "Your shop address" you can add an image tag for your image like that:
Please Log in or Create an account to join the conversation.
When I save the tag in the address box, it keeps disappearing... Is there something I am missing/not doing?
Thanks
Please Log in or Create an account to join the conversation.
Indead, the other tags are removed.
That's because of the line:
$params[] = '('.$this->database->Quote(strip_tags($namekey)).','.$this->database->Quote(strip_tags($value,'<br/>')).($default?','.$this->database->Quote($this->values[$namekey]->config_default):'').')';
in the file administrator/components/com_hikashop/classes/config.php
if you change it to :
$params[] = '('.$this->database->Quote(strip_tags($namekey)).','.$this->database->Quote($value).($default?','.$this->database->Quote($this->values[$namekey]->config_default):'').')';
it will work.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
This is the information I have entered in the Your Shopaddress field <img src="http://yourwebsite/images/fim.jpg />
Shopname
Street
City
This is the confirmation send to the customer
Subject: Your order No. N12 is now created at http://yourwebsite
Hi Customer,
We are pleased to confirm the creation of your order No. N12 http://yourwebsite/index.php?option=com_hikashop&ctrl=order&task=show&cid[]=12&Itemid=211 ) at http://yourwebsite on the 31 oktober 2011 at 07:46
SUMMARY OF YOUR ORDER
Name Unit price Qty Total
shampoo 1,19 € 1 1,19 €
Shipping method : 6,75 €
TOTAL without VAT : 7,75 €
TOTAL with VAT : 7,94 €
Billing address
Mr Nick Noname
Street
City
Country
Telephone: xxxxxxx
Shipping address
Mr Nick Noname
Street
City
Country
Telephone: xxxxxxx
Your order will be processed as soon as we receive your payment.
Once again, thank you for your order at http://yourwebsite/. We hope to see you again soon.
Best regards
Please Log in or Create an account to join the conversation.