Post by ysyan » Sat Aug 27, 2022 3:59 pm

Hello friends,May I ask where to upload favicon with opencart 4.0? Thanks
There is no problem with opencart 3.x in uploading favicon,but no such function with 4.x;Any help would be greatly appreciated.
Last edited by ysyan on Mon Aug 29, 2022 9:48 pm, edited 3 times in total.

Newbie

Posts

Joined
Tue Nov 08, 2016 9:52 am

Post by thekrotek » Sat Aug 27, 2022 4:53 pm

You can simply upload favicon.ico it to your root folder.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ysyan » Sat Aug 27, 2022 9:33 pm

thekrotek wrote:
Sat Aug 27, 2022 4:53 pm
You can simply upload favicon.ico it to your root folder.
How to upload favicon .ico to my root folder through admin ?Any help will be appreciated.

Newbie

Posts

Joined
Tue Nov 08, 2016 9:52 am

Post by thekrotek » Sun Aug 28, 2022 12:27 am

ysyan wrote:
Sat Aug 27, 2022 9:33 pm
thekrotek wrote:
Sat Aug 27, 2022 4:53 pm
You can simply upload favicon.ico it to your root folder.
How to upload favicon .ico to my root folder through admin ?Any help will be appreciated.
Use FTP

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ysyan » Sun Aug 28, 2022 8:58 pm

thekrotek wrote:
Sun Aug 28, 2022 12:27 am
ysyan wrote:
Sat Aug 27, 2022 9:33 pm
thekrotek wrote:
Sat Aug 27, 2022 4:53 pm
You can simply upload favicon.ico it to your root folder.
How to upload favicon .ico to my root folder through admin ?Any help will be appreciated.
Use FTP
But the favicon is not shown on webpage tap.

Newbie

Posts

Joined
Tue Nov 08, 2016 9:52 am

Post by thekrotek » Sun Aug 28, 2022 9:44 pm

ysyan wrote:
Sun Aug 28, 2022 8:58 pm
But the favicon is not shown on webpage tap.
Give it time, it will appear sooner or later if you did everything right.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ysyan » Sun Aug 28, 2022 10:36 pm

thekrotek wrote:
Sun Aug 28, 2022 9:44 pm
ysyan wrote:
Sun Aug 28, 2022 8:58 pm
But the favicon is not shown on webpage tap.
Give it time, it will appear sooner or later if you did everything right.
Do it yourself then you will understand what I mean :)

Newbie

Posts

Joined
Tue Nov 08, 2016 9:52 am

Post by thekrotek » Sun Aug 28, 2022 11:19 pm

ysyan wrote:
Sun Aug 28, 2022 10:36 pm
Do it yourself then you will understand what I mean :)
I did it multiple times, so I know very well how it works.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ysyan » Mon Aug 29, 2022 9:20 am

thekrotek wrote:
Sun Aug 28, 2022 11:19 pm
ysyan wrote:
Sun Aug 28, 2022 10:36 pm
Do it yourself then you will understand what I mean :)
I did it multiple times, so I know very well how it works.
My friend,I tried many times with 4.x but failed,I still dont know how to upload favicon when usgin opencart 4.000;
Also I face lot of problems after using opencart 4.000;for example,after changing the name of the admin folder,I can not upgrade the website as usual,i am very anxious and my boss is not happy with me so far;

Newbie

Posts

Joined
Tue Nov 08, 2016 9:52 am

Post by straightlight » Mon Aug 29, 2022 10:38 am

ysyan wrote:
Mon Aug 29, 2022 9:20 am
thekrotek wrote:
Sun Aug 28, 2022 11:19 pm
ysyan wrote:
Sun Aug 28, 2022 10:36 pm
Do it yourself then you will understand what I mean :)
I did it multiple times, so I know very well how it works.
My friend,I tried many times with 4.x but failed,I still dont know how to upload favicon when usgin opencart 4.000;
Also I face lot of problems after using opencart 4.000;for example,after changing the name of the admin folder,I can not upgrade the website as usual,i am very anxious and my boss is not happy with me so far;
Have you upgraded to OC v4.0.1.1 release? It was recently released.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ysyan » Mon Aug 29, 2022 12:07 pm

straightlight wrote:
Mon Aug 29, 2022 10:38 am
ysyan wrote:
Mon Aug 29, 2022 9:20 am
thekrotek wrote:
Sun Aug 28, 2022 11:19 pm

I did it multiple times, so I know very well how it works.
My friend,I tried many times with 4.x but failed,I still dont know how to upload favicon when usgin opencart 4.000;
Also I face lot of problems after using opencart 4.000;for example,after changing the name of the admin folder,I can not upgrade the website as usual,i am very anxious and my boss is not happy with me so far;
Have you upgraded to OC v4.0.1.1 release? It was recently released.
My friend,I can not upgrade my website to 4.0.1.1 due to problems,but I install it locally,and I still dont know how to upload favicon with 4.0.1.1. You can do it yourself then you can find the problem is there,my friend.
Anyone help solving the problem, Others who use opencart 4.x may also encounter the same issue, I think.The sooner the problem is solved, the better the user benefits;

Newbie

Posts

Joined
Tue Nov 08, 2016 9:52 am

Post by straightlight » Wed Aug 31, 2022 5:14 am

ysyan wrote:
Mon Aug 29, 2022 12:07 pm
straightlight wrote:
Mon Aug 29, 2022 10:38 am
ysyan wrote:
Mon Aug 29, 2022 9:20 am

My friend,I tried many times with 4.x but failed,I still dont know how to upload favicon when usgin opencart 4.000;
Also I face lot of problems after using opencart 4.000;for example,after changing the name of the admin folder,I can not upgrade the website as usual,i am very anxious and my boss is not happy with me so far;
Have you upgraded to OC v4.0.1.1 release? It was recently released.
My friend,I can not upgrade my website to 4.0.1.1 due to problems,but I install it locally,and I still dont know how to upload favicon with 4.0.1.1. You can do it yourself then you can find the problem is there,my friend.
Anyone help solving the problem, Others who use opencart 4.x may also encounter the same issue, I think.The sooner the problem is solved, the better the user benefits;
What problems?

The sooner more information can be provided, the better forum supporters could resolve the issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ysyan » Wed Aug 31, 2022 9:09 am

straightlight wrote:
Wed Aug 31, 2022 5:14 am
ysyan wrote:
Mon Aug 29, 2022 12:07 pm
straightlight wrote:
Mon Aug 29, 2022 10:38 am


Have you upgraded to OC v4.0.1.1 release? It was recently released.
My friend,I can not upgrade my website to 4.0.1.1 due to problems,but I install it locally,and I still dont know how to upload favicon with 4.0.1.1. You can do it yourself then you can find the problem is there,my friend.
Anyone help solving the problem, Others who use opencart 4.x may also encounter the same issue, I think.The sooner the problem is solved, the better the user benefits;
What problems?

The sooner more information can be provided, the better forum supporters could resolve the issue.
The main problem I encounter is:I can not find where and how to upload favicon when using opencart 4.0.1.1.Maybe there is no such function with 4.x.

Newbie

Posts

Joined
Tue Nov 08, 2016 9:52 am

Post by xxvirusxx » Wed Aug 31, 2022 9:44 pm

ysyan wrote:
Wed Aug 31, 2022 9:09 am
The main problem I encounter is:I can not find where and how to upload favicon when using opencart 4.0.1.1.Maybe there is no such function with 4.x.
Why you have upgraded to 4.0?
Better wait half year/ one year...

Also uploading ico should work just fine
https://github.com/opencart/opencart/bl ... r.php#L103

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by ysyan » Thu Sep 01, 2022 2:37 pm

xxvirusxx wrote:
Wed Aug 31, 2022 9:44 pm
ysyan wrote:
Wed Aug 31, 2022 9:09 am
The main problem I encounter is:I can not find where and how to upload favicon when using opencart 4.0.1.1.Maybe there is no such function with 4.x.
Why you have upgraded to 4.0?
Better wait half year/ one year...

Also uploading ico should work just fine
https://github.com/opencart/opencart/bl ... r.php#L103
My friend,now I give up using 4.x and use 3.x instead, hoping 4.x will become strong and reliable,easy to be usded;I like opencart very much.

Newbie

Posts

Joined
Tue Nov 08, 2016 9:52 am

Post by MadControl » Sat Dec 31, 2022 6:58 am

ysyan wrote:
Sat Aug 27, 2022 3:59 pm
Hello friends,May I ask where to upload favicon with opencart 4.0? Thanks
There is no problem with opencart 3.x in uploading favicon,but no such function with 4.x;Any help would be greatly appreciated.
I just submitted this as a possible bug but was told by Daniel Kerr to do this in version 4.0.1 in Admin --> Design --> Themes

Here I was able to choose the common template and then header.twig
Around line 9, right after the title line add the link line:

<title>{{ title }}</title> **don't add this twice **
<link rel="icon" type="image/x-icon" href="/image/logo16x16.jpg">

Change your image name to the one you uploaded in admin and make sure you get the correct directory name, if needed.
You may have to use Ctrl + F5 to refresh browser cache when testing results.

I really like this Opencart and hope v4 comes along quickly from here on.

Newbie

Posts

Joined
Mon Nov 21, 2022 1:33 am

Post by Kinesiology » Sat Mar 25, 2023 9:06 pm

New FAVICON in 4.0.1.1

1. Go to your Opencart, through FTP (example FileZilla).
2. Find folders: public_html > image > catalog > opencart.ico
3. Upload your own favicon-image.
4. Erase the old "opencart.ico".
5. Rename your own favicon to " opencart.ico "
6. Check your opencart website.
7. Refresh with F5 and ctrl + F5.
8. Now you will see your new own favicon

Newbie

Posts

Joined
Wed Jun 01, 2022 4:49 pm

Post by ahmed219 » Mon Apr 17, 2023 1:37 am

I add this line <link rel="icon" type="image/x-icon" href="/image/favicon.ico">

in header.twig it is work now

Newbie

Posts

Joined
Tue Oct 23, 2018 7:24 am

Post by Reptile » Sun May 14, 2023 2:50 pm

ahmed219 wrote:
Mon Apr 17, 2023 1:37 am
I add this line <link rel="icon" type="image/x-icon" href="/image/favicon.ico">

in header.twig it is work now
I just tried to get the favicon working in 4.0.2.1 but I guess they removed the favicon line from the headers.twig or simply forgot to add them.
Without any reference to the location of your icon it will not display it.
When you add the line mentioned bij ahmed219 the icon will display.
Also the possibility to upload a icon is removed in the system settings.

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by Jak_k » Fri Aug 25, 2023 5:01 pm

ahmed219 wrote:
Mon Apr 17, 2023 1:37 am
I add this line <link rel="icon" type="image/x-icon" href="/image/favicon.ico">

in header.twig it is work now
I'm using 4.0.2.2
Could you let me know please the best place to put that line in the file? i.e. the lines above and below as I don't want to hack away at it.
Also I have 2 header.twig files, one in admin_opencart\view\template\common and the other in catalog\view\template\common

It's easy for me to try editing both files but as I mentioned just worried about the best location for that line.

Newbie

Posts

Joined
Sat Mar 18, 2023 6:46 pm
Who is online

Users browsing this forum: No registered users and 41 guests