![]() |
CSS per Affiliate |
Post Reply ![]() |
Author | |
MarkCoyle ![]() Senior Member ![]() Joined: 06-June-2006 Location: United Kingdom Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 05-August-2006 at 7:47pm |
Hi
I have been asked for the possibility of my stores looking like the various affiliates who bring us custom. This is an interesting idea and possible if a CSS sheet could be associated with an affiliate. I don't know how achievable it is, but I'm posting it up for future consideration. cheers Mark |
|
![]() |
|
ProductCart ![]() Admin Group ![]() ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
Mark, you could definitely load different cascading style sheets based on the affialiate ID (or even the customer ID!). The code that looks up that information is typically loaded before header.asp is "included" into the page. So you would simply have to add some ASP code to header.asp to use different HTML (different external CSS files) depending on the variable value.
|
|
![]() |
|
MarkCoyle ![]() Senior Member ![]() Joined: 06-June-2006 Location: United Kingdom Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Yes I'll give this a go in due course. I'm able to do work on the CSS sheets now and have included some new sections in the home page driven by new definitions within pcStorefront.css I've included.
cheers Mark |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |