Custom content to a specific category page of X-cart

When we go to a specific x-cart category, we can put there some custom content above the category thumbnails. We need to modify skin1/customer/main/subcategories.tpl and just after the h1 tag (or any other place we want it to show)

{if $current_category.category eq “100″}show cusotm contents, prescription glasses{/if}
{if $current_category.category eq “200″}show cusotm contents, men’s glasses{/if}
{if $current_category.category eq “300″}show cusotm contents, women’s glasses{/if}

replace “100,200,300″ with the category id

How to hide x-cart v.3 home.php?

If you want home.php jump to your x-cart main domain name, add the following code in you .htaccess document under
RewriteBase / ,

RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*home.php\ HTTP/