Logo not showing on invoice
14 years 8 months ago #36490
by Biird
Logo not showing on invoice was created by Biird
Hi, i already read this topic:
www.hikashop.com/en/support/forum/4-how-...ded-to-invoices.html
But i cannot get my logo visable..
I tried:
- adding img HTML to the shop-adress under configurations..
It was not showing..
so i replaced the code like in the topic in the link above.. TS in that topic said: 'works like a charm'.. it doenst work here
- Adding an image link in the 'invoice' doc under Vieuws.. also not showing.. :S
What am i doing wrong?
The link to the img is this one: i115.photobucket.com/albums/n319/klijntj...stern/logowwmini.png
attachted the 'broken' images as shown on the invoice, and also at the printed version of the invoice!
But i cannot get my logo visable..
I tried:
- adding img HTML to the shop-adress under configurations..
It was not showing..
so i replaced the code like in the topic in the link above.. TS in that topic said: 'works like a charm'.. it doenst work here
- Adding an image link in the 'invoice' doc under Vieuws.. also not showing.. :S
What am i doing wrong?
The link to the img is this one: i115.photobucket.com/albums/n319/klijntj...stern/logowwmini.png
attachted the 'broken' images as shown on the invoice, and also at the printed version of the invoice!
Please Log in or Create an account to join the conversation.
14 years 8 months ago #36538
by nicolas
Replied by nicolas on topic Re: Logo not showing on invoice
Could you do a screenshot of your code modification so that we can see what you did ?
Please Log in or Create an account to join the conversation.
14 years 8 months ago #36786
by Biird
Replied by Biird on topic Re: Logo not showing on invoice
i did this:
_________________________
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.
[/i]
_________________________
But i still cannot put a HTML code for image in front of the adress..
attached the screenshot of the config-file:
_________________________
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.
[/i]
_________________________
But i still cannot put a HTML code for image in front of the adress..
attached the screenshot of the config-file:
Please Log in or Create an account to join the conversation.
14 years 8 months ago #36787
by Biird
Replied by Biird on topic Re: Logo not showing on invoice
Please Log in or Create an account to join the conversation.
14 years 8 months ago #36879
by nicolas
Replied by nicolas on topic Re: Logo not showing on invoice
In your invoice picture, I can see that the image HTML is there. The problem is that the link to your image is not correct in your HTML code that you added in your store address option.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #36881
by Biird
Replied by Biird on topic Re: Logo not showing on invoice
Please Log in or Create an account to join the conversation.
14 years 8 months ago #36882
by nicolas
Replied by nicolas on topic Re: Logo not showing on invoice
Please update to the new version of HikaShop (1.5.6) where that modification has been added properly and it will work. The new version can be downloaded on your subscription page (or the download page for the Starter edition) on our website
Please Log in or Create an account to join the conversation.
14 years 8 months ago #38053
by Biird
Replied by Biird on topic Re: Logo not showing on invoice
It works.. i saw the link wasnt correct..
Thank you
Please Log in or Create an account to join the conversation.
Time to create page: 0.244 seconds