AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: old_guy on December 19, 2016, 04:43:22 AM

Title: How to Change Logo URL to Site Home Page
Post by: old_guy on December 19, 2016, 04:43:22 AM
Hi all,

I'm using v1.2.8

I want to change the logo URLso that it reloads\loads the site home page. 

Currently thr store is in a folder of public_html (public_hml\store).  Clicking on the logo reloads the store homepage I need the site homepage (public_html\index)

Is there a way to change this within the admin pages?

I have found this link on the forum
http://forum.abantecart.com/index.php/topic,5066.msg21900.html#msg21900
but I really don't want to start changing core files

I look forward to any insights the forums might have

Regards
Title: Re: How to Change Logo URL to Site Home Page
Post by: maxter on January 24, 2017, 08:00:11 PM
You cannot change this in the admin aside from basic store URL setting.
Title: Re: How to Change Logo URL to Site Home Page
Post by: abantecart on January 24, 2017, 08:01:10 PM
The file you can check is a template file
Code: [Select]
storefront/view/default/template/common/header.tpl (not core PHP file)

There is a code like this:
Code: [Select]
<a class="logo" href="<?php echo $homepage?>">

Change value of href="" to what you need
Title: Re: How to Change Logo URL to Site Home Page
Post by: old_guy on January 27, 2017, 01:20:19 AM
Thanks for the reply.
If I upgrade to the next version of Abantecart, will this file be over-written?