Kartris User Guide

12.5. Skin config file

For certain web sites, you may want particular categories or products to use a different skin to that of the main site. This allows you to create a completely separate look and feel for a part of your site selling a particular brand, for example. Or you may want to brand the site for a particular customer, so major customers have their own customized version of the site.

This can be done through a Skins.config file added into the /Skins folder. It looks something like this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
 <CustomerSkinRules>
  <Customer ID="123" SkinName="DifferentSkin"/>
 </CustomerSkinRules>
 <CustomerGroupSkinRules>
  <CustomerGroup ID="456" SkinName="AnotherSkin"/>
 </CustomerGroupSkinRules>
 <ProductSkinRules>
  <Product ID="789" SkinName="SkinNumber3"/>
 </ProductSkinRules>
 <CategorySkinRules>
  <Category ID="100" SkinName="BlackAndOrange"/>
 </CategorySkinRules>
 <ScriptSkinRules>
  <Script Name="Basket.aspx" SkinName="BasketSkin"/>
 </ScriptSkinRules>
</configuration>
   
You can add multiple tags into each section.

Note: The tags in the Skins.config are case sensitive. If settings are not working as expected, check the case of tags carefully to ensure tag names and values match those above.

 
powered by tomehost