Flex-Build-11.sst not adhering to Logo Static URL Choice

General ShopSite user discussion

Flex-Build-11.sst not adhering to Logo Static URL Choice

Postby results » Thu Dec 01, 2011 11:03 pm

I've set my site logo in PREFERENCES/LAYOUT PROPERTIES. Rather than having the logo go to the store home page, I want it to go to my mail store url.

I've selected the radio button by STATIC URL and filled in the URL. However, when you click on the logo it goes to the store home page (radio button option above the static url).

The field is named g_logo_url_radio. I've been unable to find where this field is being called in for the <a href tag. When I look at the source code for the layout preferences page, it shows that option 2 (STATIC URL) is in fact selected.

I did a demo store and the same thing was happening here ... setting store home as logo URL link, not what I've specified.

Thanks in advance for any direction/guidance.
Kristi
results
 
Posts: 5
Joined: Thu Dec 01, 2011 10:53 pm

Re: Flex-Build-11.sst not adhering to Logo Static URL Choice

Postby Jim » Fri Dec 02, 2011 8:33 am

I looked at your demo store and see what you are meaning.
I'll check into it when I get to the office (about an hour from now) and let you know what I find out.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Flex-Build-11.sst not adhering to Logo Static URL Choice

Postby Jim » Fri Dec 02, 2011 10:15 am

I have verified that there is a problem in the code that is causing the My StoreURL to always be used no matter what the Static URL is set to . I have logged this as a bug to be fixed.
There are 2 possible ways to work around this issue.
1. Change the My Store URL setting under Preferences > Hosting Services to the url where you want the logo to link to. Note the My Store url is also the default url used when a shopper clicks the Empty cart button in the shopping cart and in other locations which redirect the shopper to the main store page. So changing it could have some side affects but I think in your case that may not be an issue since you want people to go to a different location than the default My Store URL anyway.
2. If you have access to the files in the store's data directory you could add a token, g_logo_text: , to the g_template.aa file and give it the value of the url you want the logo to point to . You should leave the g_logo_url: with the same url that you set from the backoffice so when the code is fixed it will work also. So you should add a line like this g_logo_text: http://mydomain.com/page.html (NOTE: there must be a space after the : ) with the same url as g_logo_url: http://mydomain.com/page.html so the two lines would be:
Code: Select all
g_logo_text: http://mydomain.com/page.html
g_logo_url: http://mydomain.com/page.html
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 103 guests