Post by p4m » Fri Apr 02, 2010 6:09 pm

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.

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm

Post by twiggy » Fri Apr 02, 2010 7:22 pm

This is not the correct category for this best move it to general support.

It all depends where you want the button?

Active Member

Posts

Joined
Fri Aug 14, 2009 4:43 am


Post by trait » Wed Apr 07, 2010 6:30 pm

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

Code: Select all

<a href="<?php echo str_replace('&', '&', $home); ?>" id="tab_home"><?php echo $text_home; ?></a>
Add

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


User avatar
New member

Posts

Joined
Sat Apr 03, 2010 10:38 am


Post by p4m » Thu Apr 08, 2010 12:52 am

Thank you Trait, Very helpful.

p4m
New member

Posts

Joined
Mon May 04, 2009 7:53 pm
Who is online

Users browsing this forum: No registered users and 9 guests