View Single Post
  #2  
Old 10-14-2007, 06:04 PM
 
xray2 xray2 is offline
 

Member
  
Join Date: Jun 2007
Posts: 20
 

Default Re: Manufacturer category

There may be a more elegant solution but...

Fire up your x-cart admin menu, select edit templates then navigate to the "customer" directory and select the home.tpl template. ( /customer/home.tpl )


Locate the manufactures display code:

Quote:
{if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"}
{include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}

Now move the manufactures code above the categories display code:

Quote:
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
{include file="customer/categories.tpl" }
<br />
{/if}

On the x-cart stock template, the final version would look like this:

Quote:

{if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"}
{include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
{include file="customer/categories.tpl" }
<br />
{/if}
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"}
{include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}

-- xray2
__________________
4.1.8
X-Cart AOM, Buy Together, Review Approval
CDSEO + Manufacturers + Static Pages
Reply With Quote