ashkansharifi Posted February 2, 2011 Share Posted February 2, 2011 Hi guysI need to do a shopping cart that the store's background changes by selecting different products!What i mean is that to have 3 or 4 random background textures and the store background changes when it is in home page or when it is in product page !!!Impossible is nothing!(Adidas)but I know it is probably will be a pain to do that!is there any module or anything i can do about it?Thanks in advance FOLKS Link to comment Share on other sites More sharing options...
MrBaseball34 Posted March 17, 2011 Share Posted March 17, 2011 I have the same need, we will be doing an NCAA apparel store and I want to change the style based on the colors of the team the use chooses.The teams will be the categories and products subcategories.What I've done is create a new global.css for each team and will change the CSS from global.css to the team's CSS file in header.php based on the category, using a switch statement.in 1.37 and below... $css_files[_THEME_CSS_DIR_.'global.css'] = 'all'; in 1.4 and above, you would change it in FrontController.php, this line: Tools::addCSS(_THEME_CSS_DIR_.'global.css', 'all'); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now