Author Topic: How to Change Logo URL to Site Home Page  (Read 2469 times)

Offline old_guy

  • Newbie
  • *
  • Posts: 48
  • Karma: +11/-0
    • View Profile
How to Change Logo URL to Site Home Page
« 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

Offline maxter

  • Full Member
  • ***
  • Posts: 103
  • Karma: +35/-0
    • View Profile
Re: How to Change Logo URL to Site Home Page
« Reply #1 on: January 24, 2017, 08:00:11 PM »
You cannot change this in the admin aside from basic store URL setting.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4155
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to Change Logo URL to Site Home Page
« Reply #2 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
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline old_guy

  • Newbie
  • *
  • Posts: 48
  • Karma: +11/-0
    • View Profile
Re: How to Change Logo URL to Site Home Page
« Reply #3 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?

 

Powered by SMFPacks Social Login Mod