I wish to link my catalog (3.0.3.6) to my business website via my business logo on the upper left of the screen.
Currently it just takes people back to the OC shopping cart index page for my site.
Web site is https://flippers.com, catalog site is https://flippers.com/catalog_oc
I would like the logo on the OC section to pop people back to my business site the same way I have my store available on the business site - via a flying shopping cart.
I've searched online for a while (about an hour) to see if I can find if anyone else has done this to no avail, so I am nowhere asking you fine folks if someone has a simple solution for me...
Thanks!
John :-#)#
PS, I've been busy elsewhere for a few months, but I don't suppose the "Notify me when a reply is posted has been fixed"...
Currently it just takes people back to the OC shopping cart index page for my site.
Web site is https://flippers.com, catalog site is https://flippers.com/catalog_oc
I would like the logo on the OC section to pop people back to my business site the same way I have my store available on the business site - via a flying shopping cart.
I've searched online for a while (about an hour) to see if I can find if anyone else has done this to no avail, so I am nowhere asking you fine folks if someone has a simple solution for me...
Thanks!
John :-#)#
PS, I've been busy elsewhere for a few months, but I don't suppose the "Notify me when a reply is posted has been fixed"...
Last edited by jrr on Wed Dec 13, 2023 3:18 pm, edited 1 time in total.
Edit header.twig and change a href.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Thanks for the reminder!
However, well it seems header.twig isn't being used in my store. I must have an extension or setting that is over-riding it. I went to admin/design/theme editor/common/header.twig and no changes there made any changes on the test site.
I am just using the default theme too.
Any easy way to discover which extension is doing this?
I obviously need to document changes I make to my store...
Oh, and the twig documentation link on the page is dead. I found them on the wayback machine: https://web.archive.org/web/20160312122 ... umentation
However, well it seems header.twig isn't being used in my store. I must have an extension or setting that is over-riding it. I went to admin/design/theme editor/common/header.twig and no changes there made any changes on the test site.
I am just using the default theme too.
Any easy way to discover which extension is doing this?
I obviously need to document changes I make to my store...
Oh, and the twig documentation link on the page is dead. I found them on the wayback machine: https://web.archive.org/web/20160312122 ... umentation
Did you refresh your modifications and the theme cache?
You could search through the modifications log to see if anything is changing header.twig.
You could search through the modifications log to see if anything is changing header.twig.
Yes, I provided a link to archive.org's Wayback Machine which has the page archived. Avoiding the marketing gurus of Goo...
John :-#)#
Well, no I forgot about refreshing the Theme (gah!), however when I Save the modified (below) changes, they revert back to the default twig. It appears I need to find another instance of header.twig to modify so it stays modified...like looking through the modifications log as suggested just above (sigh).ADD Creative wrote: ↑Wed Dec 13, 2023 12:28 amDid you refresh your modifications and the theme cache?
You could search through the modifications log to see if anything is changing header.twig.
For the record, in the header.twig file around line 72/73 look for:
Code: Select all
<div id="logo">{% if logo %}<a href="{{ home }}"><img src="{{ logo }}" title="{{ name }}" alt="{{ name }}" class="img-responsive" /></a>{% else %}
<h1><a href="{{ home }}">{{ name }}</a></h1></div>
Code: Select all
<div id="logo">{% if logo %}<a href="https://flippers.com/index.htm"><img src="{{ logo }}" title="Flippers Main Site" alt="Flippers Main Site" class="img-responsive" /></a>{% else %}
<h1><a href="https://flippers.com/index.htm">"Flippers Main Site"</a></h1>
Thanks for the help!
John :-#)#
Where do I find the modifications log? Nothing named modifications in the log section that I can see. Is this something that one can turn on?ADD Creative wrote: ↑Wed Dec 13, 2023 12:28 amYou could search through the modifications log to see if anything is changing header.twig.
Thanks!
John:-#)#
The logo has already /index.htm
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Well, in the end I've used FTP to modify header.twig in the /catalog/catalog/view/theme/default/template/common/ directory.
This seems to not get reset such as when I use the theme editor and then leave that twig file and do anything else.
I'll see if it is still working tomorrow, but I kinda would prefer to use the theme editor if it didn't reset the twig file to the default...
Thanks,
John :-#)#
This seems to not get reset such as when I use the theme editor and then leave that twig file and do anything else.
I'll see if it is still working tomorrow, but I kinda would prefer to use the theme editor if it didn't reset the twig file to the default...
Thanks,
John :-#)#
You can create a quick ocmod file...
As I know Theme editor doesn't work well together with ocmod files.
As I know Theme editor doesn't work well together with ocmod files.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 6 guests