Hi
I was wondering if it is possible to add a button to the store that link back to my home website page? if yes, how to do it.
Thanks for help.
Should you want to modify the
opencart_root\catalog\view\theme\default\template\common\header.tpl
if you want add the button to top of the page.
Before
Add
replace the "{site_url}" and "{site_name}" to what you want.
and if you want to add to the bottom, just edit the footer.tpl
opencart_root\catalog\view\theme\default\template\common\header.tpl
if you want add the button to top of the page.
Before
Code: Select all
<a href="<?php echo str_replace('&', '&', $home); ?>" id="tab_home"><?php echo $text_home; ?></a>
Code: Select all
<a href="{site_url}" id="tab_sitehome">{site_name}</a>
replace the "{site_url}" and "{site_name}" to what you want.
and if you want to add to the bottom, just edit the footer.tpl
TRAIT-TECH.COM Wholesale electronics with factory price, dropshipper from China
Who is online
Users browsing this forum: No registered users and 100 guests