Hey Opencart Community,
I have a problem with the links of the manufacters in my shop. I got their logos on the bottom and put the correct link in the settings under system->design->banners->manufacters .
When clicking on the banner, the link appears in the same window. But i want it to be opened in a new tab.
Is there a way of solving this problem.
thank you in advance.
Tschiff
You can edit the TPL file. I'm assuming you're using the carousel?
catelog/view/theme/YOURTHEME/template/module/carousel.tpl
FIND AND REPLACE
WITH
That should do it. Any issues, hit me up.
catelog/view/theme/YOURTHEME/template/module/carousel.tpl
FIND AND REPLACE
Code: Select all
<a href="<?php echo $banner['link']; ?>">
Code: Select all
<a href="<?php echo $banner['link']; ?>" target="_BLANK">
That should do it. Any issues, hit me up.
Hi,
How about if i want to insert external links to my banner? Currently, I now can put the internal links ONLY to the banners. I only can directed the cust to go anywhere in my website when they click the banner.
I also have to put the link in this manner : /index.php?route=product/category&path=24 to allow the clickers to certain page of my website.
If let's say, i want the cust to go to other website such www.google.com, i cant. If i put the link www.google.com in banner link, and then i click the banner, there is error, :
Not Found
The requested URL /www.google.com was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Thank you for any assistance
How about if i want to insert external links to my banner? Currently, I now can put the internal links ONLY to the banners. I only can directed the cust to go anywhere in my website when they click the banner.
I also have to put the link in this manner : /index.php?route=product/category&path=24 to allow the clickers to certain page of my website.
If let's say, i want the cust to go to other website such www.google.com, i cant. If i put the link www.google.com in banner link, and then i click the banner, there is error, :
Not Found
The requested URL /www.google.com was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Thank you for any assistance
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 19 guests