AbanteCart Community

eCommerce construction => How-to questions => Topic started by: MarkSmith on August 16, 2017, 01:53:20 PM

Title: Make Logo at Top, a link to home page
Post by: MarkSmith on August 16, 2017, 01:53:20 PM
I asked how you make the logo at the top of the page, a link back to the home page.  The response I got was:

Just change url inside your public_html/storefront/view/default/template/common/header.tpl
You can do this manually via hard code or via some hook. First way easier.

Please advise how you do this.  Specifically, what do I need to put im the template/common/header and where?

Thanks
Mark
Title: Re: Make Logo at Top, a link to home page
Post by: llegrand on August 16, 2017, 06:59:02 PM
What cart version are you using?  1.2.10?

What template -  the default or a third-party?

If default template have you modified the template?

How did you upload your logo?  via the admin panel  or some other way?

It has been my experience since version 1.1.3  that if the logo is uploaded via the admin panel,  on the design edit 
see this doc links for info and a good video 
http://docs.abantecart.com/pages/design/templates/edit.html (http://docs.abantecart.com/pages/design/templates/edit.html)

the header code will use the the store URL that is set in the
admin panel   System > settings> store detail
no further coding tweaks are required

If you have altered your coding you can look at the basic coding for the hook,  or if a third-party template -  contact that developer for assistance.

Otherwise default coding works as you have defined it.