On top of the opencart website, there is a grey bar with phone number/account/wishlist/cart/checkout
Is it possible to add link/button in there?
Currently using Version 1.5.6
Hi,
as your first post, please read the most recent forum rules. So far, no URL / highlighted screenshot posted with your request.
as your first post, please read the most recent forum rules. So far, no URL / highlighted screenshot posted with your request.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Well, it heavy depends on the Theme used, but basically, it's the
.../whatevertheme/template/common/header.tpl
file, where your Link Code has to be added. Below some samples, where such has to be done:
---
Case 1:
Add, a Link Line like shown below, where you like to make it visible, inside of such a Code Section:
---
Case 2:
Add, a Link Line like shown below, where you like to make it visible, inside of such a Code Section:
---
Case 3:
Add, a Link Line like shown below, where you like to make it visible, inside of such a Code Section:
Good Luck!
Ernie
.../whatevertheme/template/common/header.tpl
file, where your Link Code has to be added. Below some samples, where such has to be done:
---
Case 1:
Code: Select all
<div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist-total"><?php echo $text_wishlist; ?></a><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
Code: Select all
<a href="http://whatever/yourpage.html">Click here, to see Whatever</a>
Case 2:
Code: Select all
<li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
<li><a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
Code: Select all
<li><a href="http://whatever/yourpage.html">See Whatever</a></li>
Case 3:
Code: Select all
<li><a href="<?php echo $wishlist; ?>" id="wishlist-total" title="<?php echo $text_wishlist; ?>"><i class="fa fa-heart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_wishlist; ?></span></a></li>
<li><a href="<?php echo $shopping_cart; ?>" title="<?php echo $text_shopping_cart; ?>"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_shopping_cart; ?></span></a></li>
<li><a href="<?php echo $checkout; ?>" title="<?php echo $text_checkout; ?>"><i class="fa fa-share"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_checkout; ?></span></a></li>
Code: Select all
<li><a href="http://whatever/yourpage.html" id="whatever" title="Click here, to see Whatever"><i class="fa fa-link"></i> <span class="hidden-xs hidden-sm hidden-md">See Whatever</span></a></li>
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 22 guests