X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Manufacturer Categories mod! Free! (https://forum.x-cart.com/showthread.php?t=32213)

BCSE 06-30-2007 01:06 PM

Manufacturer Categories mod! Free!
 
Wish you could have the manufacturer products categorized? Now you can with this FREE X-cart mod!

This mod auto generates a category listing for your manufacturer pages. Categories related to a specific manufacturer are displayed instead of the list of products. Great for sites with a lot of products associated with each manufacturer!!

"Buy" this mod for free here:
http://bcsengineering.com/store/customer/product.php?productid=238&MMCF_xfManuCat

Just use Check or Money order payment method when checking out to get this for FREE! If you'd like to donate (always appreciated but never required!), you can use Paypal or Credit Card.

Hope you all enjoy this mod!

Carrie & The Staff at BCSE!

groovico 07-01-2007 11:25 AM

Re: Manufacturer Categories mod! Free!
 
OOOooo nice mod! I just had a client complaining about the way x-cart lists everything by the manufacturer in one big mixed up list, the option for it breaking up in categories is brilliant :) nice one bcse!

Jerrad 07-01-2007 02:33 PM

Re: Manufacturer Categories mod! Free!
 
Thanks for sharing another great mod, Carrie! :D/

BCSE 07-01-2007 03:50 PM

Re: Manufacturer Categories mod! Free!
 
No problem guys! We had this created a LONG time ago for a client and finally got it put together so we could distribute it.

Thanks!

Carrie

economedical 07-01-2007 05:37 PM

Re: Manufacturer Categories mod! Free!
 
Quick question re this mod, looks great installed quite easily, but is it meant to then forward the customer to the category that has those manufacturers products?

When clicking on a category under the manufacturer it just refreshes the page rather than going anywhere... Maybe I did somthing wrong, so I am asking is it meant to be this way?

Peter.

BCSE 07-02-2007 07:41 PM

Re: Manufacturer Categories mod! Free!
 
Peter,

No it's supposed to keep you in the manufacturer area but show the list of products for that manufacturer and category you clicked on. So it narrows the Manufacturer product's list down for you.

Sounds like you should contact us via our support so we can help easier. Possibly it's just a simple install issue.

If you would email us your modified files and we can take a look. Also a link to your site would also help. Email it to support@<ourdomainnamehere> I didn't put our domain name for spam reasons, just replace the part after @ with our domain.

Thanks!

Carrie

Amy 07-03-2007 06:54 AM

Re: Manufacturer Categories mod! Free!
 
anyone have a possible working site that has this installed to view? Maybe a more detailed preview image? I just didn't want to install it to find it's not what I thought it would be :)

WSGTeam 07-03-2007 10:05 AM

Re: Manufacturer Categories mod! Free!
 
Please note line 30 of your readme.txt for the 4.1.x version you have forgotten a closing double quote.

Your code:
{include file="modules/Manufacturers/manufacturer_categories.tpl} {*BCSE Added*}

Corrected:
{include file="modules/Manufacturers/manufacturer_categories.tpl"} {*BCSE Added*}

BCSE 07-03-2007 10:12 AM

Re: Manufacturer Categories mod! Free!
 
Thanks! I'll fix that now in the distribution.

Carrie

vipstore 07-04-2007 10:31 PM

Re: Manufacturer Categories mod! Free!
 
nevermind

Warwick 07-07-2007 12:35 AM

Re: Manufacturer Categories mod! Free!
 
Anyone has this installed and would like share the url?

espresso 08-02-2007 10:58 PM

Re: Manufacturer Categories mod! Free!
 
Yet another great mod, thanks Carrie.
Anyone got to display the product count found in the manufacturer category ?

brettsontfarrey 12-20-2007 12:39 PM

Re: Manufacturer Categories mod! Free!
 
Will this work with XC SEO?

paul@dimoda.com.au 01-13-2008 01:41 AM

Re: Manufacturer Categories mod! Free!
 
Hi, I have just installed this mod. works fine with my dynamic catalogue but does not seem to work properly with my html root catalogue. it creates the manufacturer specific index page with relevant category links but these do not go anywhere..

wardworth 01-30-2008 06:29 AM

Re: Manufacturer Categories mod! Free!
 
Hi,
I've just installed this mod but all I'm getting on the manufacturer.php page is an empty dialog box. Any ideas?

wardworth 01-30-2008 06:33 AM

Re: Manufacturer Categories mod! Free!
 
sorted. School boy error:)

wardworth 01-30-2008 06:37 AM

Re: Manufacturer Categories mod! Free!
 
Does anyone know of a way this can be modified to use a drop down box instead?
So rather than outputting a long list of categories, the category options can be in a drop down box at the top and then when a category is selected, the products are listed below.

davidsaldana 02-25-2008 02:17 PM

Re: Manufacturer Categories mod! Free!
 
Good mod, but could be improved. The categories that this mod grabs are only links. Would like to see the subcategory image, number of products, etc. Exactly as their are shown in the subcategories.tpl. Also, if you have one product in 10 different subcategories, it will give you 10 links to all those subcategories for that one product. Kind of redundant.

This is way beyond me, but if anyone has the answers, please let me know.

-DS

BCSE 03-09-2008 07:41 PM

Re: Manufacturer Categories mod! Free!
 
Quote:

Originally Posted by davidsaldana
Good mod, but could be improved. The categories that this mod grabs are only links. Would like to see the subcategory image, number of products, etc. Exactly as their are shown in the subcategories.tpl. Also, if you have one product in 10 different subcategories, it will give you 10 links to all those subcategories for that one product. Kind of redundant.

This is way beyond me, but if anyone has the answers, please let me know.

-DS



DS,

If you'd like us to look into this just let us know. From first glance this would be beyond a "free" mod and would probably be a small priced module to do these things, but we'd be happy to develop it for you for sale on our site if you'd like to email us your feedback. We could make a "plus" version of this free module for the more advanced features. Any feedback from you or anyone else would be appreciated! (email support@)

Thanks!

Carrie

MBA 04-30-2008 07:55 PM

Re: Manufacturer Categories mod! Free!
 
Quote:

Originally Posted by wardworth
Does anyone know of a way this can be modified to use a drop down box instead?
So rather than outputting a long list of categories, the category options can be in a drop down box at the top and then when a category is selected, the products are listed below.


Telefirma has a great mod that adds a manufacturer drop down box to you products.tpl or products_t.tpl page.

http://www.telafirma.com/store/product.php?productid=16134&cat=243&bestseller=Y

wardworth 05-01-2008 05:22 AM

Re: Manufacturer Categories mod! Free!
 
Nice one MBA. I'll take a look...

MBA 05-01-2008 11:08 AM

Re: Manufacturer Categories mod! Free!
 
Quote:

Originally Posted by wardworth
Nice one MBA. I'll take a look...


Tell him MBA sent you and he'll give you a picture of a free puppy :P

TelaFirma 05-01-2008 11:17 AM

Re: Manufacturer Categories mod! Free!
 
http://www.telafirma.com/free_puppy.jpg

MBA 05-01-2008 11:58 AM

Re: Manufacturer Categories mod! Free!
 
OK, that's just creepy...

intel352 05-05-2008 09:51 AM

Re: Manufacturer Categories mod! Free!
 
In modules/Manufacturers/customer_manufacturers_list.php, change the navigation bit at the bottom to look like this:

PHP Code:

$smarty->assign("navigation_script","manufacturers.php?manufacturerid=".$manufacturerid."&sort=".$sort."&sort_direction=".$sort_direction . ($catid?'&catid='.$catid:'')); 


I found a client's manfacturer categories were not paginating properly, that change fixed the problem

peterstagg 05-13-2008 07:45 AM

Re: Manufacturer Categories mod! Free!
 
Hi people
Is there anyone who has this installed to show us as i am interested in seeing how it looks.
Cheers
Peter

paryaei 10-03-2008 02:50 PM

Re: Manufacturer Categories mod! Free!
 
This is a great mod
But it doesn't seem to work with CDseo Pro that I have installed and when I have it on I get the same result that "Peter" is getting

Quote:

Originally Posted by economedical
Quick question re this mod, looks great installed quite easily, but is it meant to then forward the customer to the category that has those manufacturers products?

When clicking on a category under the manufacturer it just refreshes the page rather than going anywhere... Maybe I did somthing wrong, so I am asking is it meant to be this way?

Peter.


But when I turn the CDseo OFF it works perfect. Any body has any solution's to this ???
I thank you in advance for you help

BCSE 10-03-2008 05:56 PM

Re: Manufacturer Categories mod! Free!
 
If you would drop us an email to "support" we'll be sure to help you out. WebsiteCM and us work together to help each of our modules be compatible with the other.

Thank you,

Carrie

mudebate 07-06-2009 01:37 PM

Re: Manufacturer Categories mod! Free!
 
I too am experiencing trouble getting this to with with CDSEO pro.

The page looks like it normally does once I install the mod (all manufacturers products), plus when I click on page 2 (or 3 or 4 etc.) I get a "there are no products for this manufacturer" message.

Anyone experience this?

Thanks

thatcrazyartguy 12-28-2009 11:58 AM

Re: Manufacturer Categories mod! Free!
 
I was wondering if there is anyway to list each category as a heading, then list each sub category under it instead of listing the same main category more than once. For example, if it lists

CATEGORY A/SUBCATEGORY A
CATEGORY A/SUBCATEGORY B
CATEGORY A/SUBCATEGORY C
CATEGORY B/SUBCATEGORY A
CATEGORY B/SUBCATEGORY B

I could make it list...

CATEGORY A
SUB A
SUB B
SUB C

CATEGORY B
SUB A
SUB B

Anyway to do this?

thatcrazyartguy 12-29-2009 11:12 AM

Re: Manufacturer Categories mod! Free!
 
Quote:

Originally Posted by thatcrazyartguy
I was wondering if there is anyway to list each category as a heading, then list each sub category under it instead of listing the same main category more than once. For example, if it lists

CATEGORY A/SUBCATEGORY A
CATEGORY A/SUBCATEGORY B
CATEGORY A/SUBCATEGORY C
CATEGORY B/SUBCATEGORY A
CATEGORY B/SUBCATEGORY B

I could make it list...

CATEGORY A
SUB A
SUB B
SUB C

CATEGORY B
SUB A
SUB B

Anyway to do this?


I actually figured this out. If anyone wants to know how to do this, just let me know here. It may not be the most elegant way, but it works for me. Check it out at www.tennesseespeedsport.com, and pick a manufacturer to see it in action.

paryaei 12-30-2009 03:40 AM

Re: Manufacturer Categories mod! Free!
 
Hi

I am really interested to know how to do this. If you could please post the code I would really appreciate it.

thatcrazyartguy 12-31-2009 11:31 AM

Re: Manufacturer Categories mod! Free!
 
Quote:

Originally Posted by paryaei
Hi

I am really interested to know how to do this. If you could please post the code I would really appreciate it.


Sure...

Here is what I added to manufacturer_categories.php

First, I added a new value to the $man_categories array called "master_header".

Then...

I made a new array called "master_headers" that contains all the main headings based on the "category_path" of the category data. This is the same value that is applied to the "master_header" key of $man_categories.

This is directly under "$mode = ' ';" (around line 67)

---------------------------------------
$master_headers = array();
$count = "0";
foreach($man_categories as $k=>$v){
$get_top = explode("/",$man_categories[$k]['category_path']);
$man_categories[$k]['master_header'] = $get_top[0];
if(!in_array($get_top[0],$master_headers)){
$master_headers[$count] = $get_top[0];
$count++;
}
}
sort($master_headers);
$smarty->assign("master_headers",$master_headers);
---------------------------------------

This is what I changed in manufacturer_categories.tpl

This replaces the foreach loop in the original.
Just below <hr class="mcat_hr"> - Replaces Lines 60 - 77

It begins by looping through each of the values of the "master_headers" array. Then, it loops through $man_categories displaying all the links and info for each category that falls under the corresponding main headers.

----------------------------------------
{foreach item=master from=$master_headers}
<div style="margin:1em 0 1em 0">
<div style="background-color:#f8f008; font-size:18px; padding:.5em; margin-bottom:.25em">{$master}</div>
{foreach item=mcat from=$man_categories}
<div style="padding-left:1em">
{if ($mcat.master_header eq $master)}
<a href=
"{$catalogs.customer}/manufacturers.php?manufacturerid={$manufacturerid} &catid={$mcat.categoryid}"
style="font-size:12px" class="mcat_link">{$manufacturer.manufacturer} {$mcat.category}</a><br />
{/if}
</div>
{/foreach}
</div>
{/foreach}
----------------------------------------
your {else} should begin just below the code above.

I hope this helps. Any comments or suggestions on this would be very welcome.

JB

Stizerg 02-09-2010 01:54 AM

Re: Manufacturer Categories mod! Free!
 
Quote:

Originally Posted by thatcrazyartguy
Sure...
Here is what I added to manufacturer_categories.php
First, I added a new value to the $man_categories array called "master_header".
Then...
This is what I changed in manufacturer_categories.tpl


Which version of x-cart is it for? I can't find this files in 4.1 or 4.2?

spence88mph 02-21-2010 03:43 PM

Re: Manufacturer Categories mod! Free!
 
Damn, I have installed this mod, I get the category list but when you click each one the product area stays blank, I've been over the install twice and applied the patch, any ideas?!

V. 4.1.9

http://www.spacadia.com.au

TruVu 02-22-2010 06:09 AM

Re: Manufacturer Categories mod! Free!
 
Is there a mod like this one for the related items to have category > sub-category links? Preferably a drop down from the category to the sub-category for related items.

Herb

BCSE 02-23-2010 07:48 PM

Re: Manufacturer Categories mod! Free!
 
Sorry for the delay in replying to this thread. We've had a lot of illness in the office this week. If you're having an issue with it on your site, please drop us an email or support ticket. That will ensure it's not only myself getting the message, then my whole team can and can help out if I'm busy covering for those that are out.


The recent versions of X-cart have many different categories.tpl file which makes having install instructions for this one impossible to have an exact match sometimes for code to find.

Thank you!

Carrie

thatcrazyartguy 04-28-2010 05:18 AM

Re: Manufacturer Categories mod! Free!
 
I have this mod installed, and I changed some things in it, but now I actually have a small problem I can't figure out.

I now want to add a link under the manufacturers' page that can list all products by each manufacturer. After installing this mod, I can't figure out how to do this. Anyone know?

Phoenixone 02-28-2011 09:07 PM

Re: Manufacturer Categories mod! Free!
 
hi everyone i have this mod installed and i really wish it to have the following structure

"Manufacturer Name" "Category"

eg: "Asus" "Graphics Cards"

here is the current code:

Quote:

{foreach item=mcat from=$man_categories}
<a href="{$catalogs.customer}/manufacturers.php?manufacturerid={$manufacturerid} &catid={$mcat.categoryid}" style="font-size:12px" class="mcat_link">{$mcat.category}</a><br />
{/foreach}

i got the full category path replaced by just the category so thats done now i just need it to show the manufacturers name

i tried {$mcat.manufacturer} but didnt work

please could someone help! i think it would work much better in terms of SEO than the current way?

view my example:

Phoenix Tech Asus

Learner 04-01-2011 12:55 AM

Re: Manufacturer Categories mod! Free!
 
Hi,
Will this work for latest 4.4.2??

Also If I want to display category on the top as well as product display (as usual) at the bottom..How to achieve that??

Thanks..


All times are GMT -8. The time now is 04:50 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.