Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Manufacturer category

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-14-2007, 09:03 AM
 
k20tuned k20tuned is offline
 

Member
  
Join Date: Jun 2006
Posts: 22
 

Default Manufacturer category

Is there a way to have the manufacturer section shown above the category section on the home page?
__________________
Dale Clement
K20Tuned - Import Builders
Location: Florida, USA
xcart v4.1.9 [unix]
Reply With Quote
  #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
  #3  
Old 10-14-2007, 06:27 PM
 
k20tuned k20tuned is offline
 

Member
  
Join Date: Jun 2006
Posts: 22
 

Default Re: Manufacturer category

well done, it works great. thank you
__________________
Dale Clement
K20Tuned - Import Builders
Location: Florida, USA
xcart v4.1.9 [unix]
Reply With Quote
  #4  
Old 10-15-2007, 04:25 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Manufacturer category

Moving this to the Template Editing forum.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 10-20-2008, 09:38 PM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default Re: Manufacturer category

Further to this thread, I am trying to get the manufacturers list to display permenantly in menu box like the category list does.

I have figured out how to change the name of manufacturers to Brands, now I need to put it in the standard categories bordered menu box and have it appear on every page.

Any thoughts appreciated
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
  #6  
Old 10-21-2008, 04:53 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Manufacturer category

If you did the change as shown above, it should already do what you ask. How did you change it to "Brands", and did it display properly before you made the name change?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #7  
Old 10-21-2008, 05:36 PM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default Re: Manufacturer category

Hi,

if you click on makeuwell.com.au in my signature you will see that in the template we are using, 'manufacturers' only appears in the vert left menu under Special, with no border and you have to click on it to actually see the manufacturers.

In order to change the name I just changed the associated label in languages which was easy but I have been unable to figure out how to make the actual list of manufacturers appear on every page like the list of categories does.
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:51 AM.

   

 
X-Cart forums © 2001-2020