CSS per Affiliate
Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Suggestions
Forum Description: ProductCart Suggestions
URL: https://forum.productcart.com/forum_posts.asp?TID=358
Printed Date: 22-November-2024 at 7:32am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: CSS per Affiliate
Posted By: MarkCoyle
Subject: CSS per Affiliate
Date 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
|
Replies:
Posted By: ProductCart
Date Posted: 06-August-2006 at 12:59am
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.
------------- The ProductCart Team
Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software
|
Posted By: MarkCoyle
Date Posted: 06-August-2006 at 6:34pm
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
|
|