Page 1 of 1

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

Posted: Wed Jun 09, 2010 9:32 am
by Kmbsjb
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.

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

Posted: Wed Jun 09, 2010 11:02 am
by mazhar
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>

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

Posted: Tue Jun 15, 2010 7:21 am
by Kmbsjb
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.