STORE.SC_ShadeColor

General ShopSite user discussion

STORE.SC_ShadeColor

Postby SJD » Thu Feb 26, 2009 4:03 pm

Hello! I'm a recent newbie to ShopSite - I've done quite a bit of reading and searching through discussion boards the last couple of days. My current task is to use the Classy Blue template/theme, but to change the color of the blue to work with our logos and graphics...

The following post was especially helpful:
http://support.shopsite.com/forums/view ... =box2a+gif

I've found that I can easily replace the PAGE tags in the Include files I'm editing with a hard-coded color (#003399), but I can't seem to replace the STORE.SC tags with a hard-coded color. (It just goes white.)

Because I want to change the blue in this theme to a different blue on all pages across the site, I'd really like to know where the STORE.SC_ShadeColor is defined, so that I can put my code in.... I've gone through so many Include files that I've given up! :)

Any help at all would be great!

Best,
-Sarah
SJD
 
Posts: 2
Joined: Thu Feb 26, 2009 3:55 pm

Postby Jim » Thu Feb 26, 2009 4:21 pm

That value comes from Commerce Setup > Order System > Layout Info > Table Shade Color:

But you should be able to replace the tag with the color and have it work. Note that you might have to include the #in front of the hex number.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby SJD » Thu Feb 26, 2009 4:28 pm

I can't possibly thank you enough for the direction! That was so easy! :) And I learned something else about the way it pulls values - thanks again!

But you should be able to replace the tag with the color and have it work. Note that you might have to include the #in front of the hex number.


If you mean, I should have been able to replace the tag in the classy_pa_vars.sst file, I didn't have any luck. I was able to replace the PAGE tag elsewhere in the same file and it was fine, but it didn't work for the STORE.SC tag.

For example, in the following statement:
[-- VAR.pa_banner_bg_color STORE.SC_ShadeColor --]

I replaced "STORE.SC_ShadeColor" with #003399 and after saving, republishing and refreshing it changed from the original color to white instead of the color I was referring to.

If you can tell what I did wrong, that might help in the future as I figure all the rest of this out. :)

Thanks again so much for the immediate fix!
SJD
 
Posts: 2
Joined: Thu Feb 26, 2009 3:55 pm

Postby Jim » Thu Feb 26, 2009 4:48 pm

what area of the page/shoppingcart/search screen are you trying to change? That particular line would just affect store pages not the shopping cart or search etc pages.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby Jim » Thu Feb 26, 2009 7:53 pm

In looking through the templates I see that this same VAR (VAR.pa_banner_bg_color) is defined in both the classy_pr_moreinfo_vars.sst and classy_pa_vars.sst as
[-- VAR.pa_banner_bg_color STORE.SC_ShadeColor --]
You probably only changed the value in one of these 2 includes. It may be that the value is being reset in one of the includes to the white color. Make sure that both of these files have the same value for VAR.pa_banner_bg_color to avoid any problem like this.
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 112 guests