How do I make the logo Link to my Site Home Page?

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
User avatar
Kmbsjb
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Thu May 20, 2010 8:29 am
Location: West Virginia
Contact:

How do I make the logo Link to my Site Home Page?

Post by Kmbsjb » Wed Jun 09, 2010 9:32 am

Good morning all and thank you for all the helpful info I have found in these threads so far.

I have pretty much figured out everything that I needed in order to make my store look and work the way I want it to except for one thing. For the life of me I cannot make my Logo on the pages link to my Main site, not this shopping cart.

Everytime I click the logo on my Able commerce shopping cart pages it just takes me back to the main page of the shopping cart, I dont want it to do that. I want it to open my main sites page in another window just like I have this store open from my Home page. I know there is a place under "Configure" - "Store URL" for me to change the website address but if I do that then the store no longer works. Is there a work around for this by chance or some code I could put in somewhere to make this do what I want it to?

Is this even possible? Thank you all again.
Kristoffer Bowyer
Living in the land of the lost!

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: How do I make the logo Link to my Site Home Page?

Post by mazhar » Wed Jun 09, 2010 11:02 am

Go to shopping cart home page as admin user and then edit the page from bottom. Then edit Header scriptlet and locate following code in it.

Code: Select all

<a href="~/Default.aspx">[[ConLib:StoreLogo]]</a>
and then simply point this href attribute to desired URL. For example

Code: Select all

<a href="http://www.mywebsite.tld">[[ConLib:StoreLogo]]</a>

User avatar
Kmbsjb
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Thu May 20, 2010 8:29 am
Location: West Virginia
Contact:

Re: How do I make the logo Link to my Site Home Page?

Post by Kmbsjb » Tue Jun 15, 2010 7:21 am

OMG, thank you so much. I always new there was a reason that there was and edit page button under admin, just never knew what to do with it.
Kristoffer Bowyer
Living in the land of the lost!

Post Reply