| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Display manufacturer list on category page | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Display manufacturer list on category page
HI,
I have searched for this but only found posts for displaying manufacturer on product page. I would like to display available manufacturers on category/subcategory page. If any product in that category has manufacturer specified it would display a list of those manufacturers below or above product list. Is there a post somewhere that has covered this, is it possible and how would I go about it? Using X-Cart 4.4.2 Please point me in the right direction. Thanks.
__________________
x-cart 4.4.2 Gold |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Display manufacturer list on category page
Use webmaster mode and look at the variables assigned on those pages. Here is a tut if you are not familiar with this method:http://forum.x-cart.com/showthread.php?p=335522 #2 on the list currently.
If you can see the variables, you should be good to go to write some Smarty code, if they are not assigned you will need to dive into the DB with PHP and assign them. Kind of a generic response, but hopefully it will help.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: Display manufacturer list on category page
Thanks Mike, I'll try my best but not really sure what variables to look for, where will they be displayed?
I'm surprised that this is not default function in x-cart.
__________________
x-cart 4.4.2 Gold |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Display manufacturer list on category page
Products shown on products list pages have manufacturerid specified for them in the product array but not the manufacturer name. If you want to show a list of manufacturers this will stillhas to be custom coded within php to assign the list to smarty with names
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||
|
|||||||
Re: Display manufacturer list on category page
Quote:
Hey Steve Are there any examples on forums that you are aware of? Thanks.
__________________
x-cart 4.4.2 Gold |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Display manufacturer list on category page
Not aware of anything like this but there could be something in here. Try searching again. And you know my email if you need professional help with this
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Display manufacturer list on category page
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
|
#8
|
|||||||||
|
|||||||||
Re: Display manufacturer list on category page
Depending on the skin, the list of Manufacturers should always show in the menu on the side on all pages. Also check that the box is checked in the Manufacturers settings.
|
|||||||||
|
#9
|
|||||||
|
|||||||
Re: Display manufacturer list on category page
Quote:
They do but it always displays ALL manufacturers, i'd like to display only manufacturers that exist in products belonging to category you are viewing, if that makes sense. Displaying all manufacturers on homepage is fine but once you click on category it should only display manufacturers from products in that category.
__________________
x-cart 4.4.2 Gold |
|||||||
#10
|
|||||||||
|
|||||||||
Re: Display manufacturer list on category page
You could do something like this on the product listing or subcategories tpl (untested):
PHP Code:
|
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|