♥bruyndoncx Posted February 13, 2007 Share Posted February 13, 2007 This contribution adds a box with a link to see all manufacturers and the categories of products sold for each. http://www.oscommerce.com/community/contributions,4836 Easy installation, full files included. Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
buynotebookscheap Posted February 13, 2007 Share Posted February 13, 2007 This contribution adds a box with a link to see all manufacturers and the categories of products sold for each. http://www.oscommerce.com/community/contributions,4836 Easy installation, full files included. I added this last week do all files and edits need to be done again? Quote Buy Notebooks Cheap Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted February 13, 2007 Author Share Posted February 13, 2007 Hi there again, The only change is that 'and c.categories_status = 1 ' is removed from catalog/all_manufacturers_categories.php around line 62. If you have it working, no need to make changes. Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
SwiftecIT Posted February 13, 2007 Share Posted February 13, 2007 This contribution adds a box with a link to see all manufacturers and the categories of products sold for each. http://www.oscommerce.com/community/contributions,4836 Easy installation, full files included. strange question - line 21 of all_manufacturers_categories.php $_SERVER['PHP_SELF'] is giving me catalog/all_manufacturers_categories.php any idea why catalog is appended before the name? i cannot find where this is set. thanks adam Quote Link to comment Share on other sites More sharing options...
MarthaD Posted February 25, 2007 Share Posted February 25, 2007 Nice contrib - thank you. Any chance of adding a split page result for those shops with a ton of manufacturers to list? Quote Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted February 25, 2007 Author Share Posted February 25, 2007 Nice contrib - thank you. Any chance of adding a split page result for those shops with a ton of manufacturers to list? I don't see this happening soon to this contribution as this is an 'all' type of page, which implies it shows all of them without pagination. The tricky bit is that in order to do pagination, the records to count and split on is for the manufacturer, but the actual detail of the query is at the category level, but you wouldn't want to split based on the number of categories shown but on the number of manufacturers shown. Thus this is quite a bit of separate/new development to accomplish this. Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted February 25, 2007 Author Share Posted February 25, 2007 line 21 of all_manufacturers_categories.php$_SERVER['PHP_SELF'] is giving me catalog/all_manufacturers_categories.php any idea why catalog is appended before the name? it gets appended because of that is where it is stored. if this causes problems, just repace $_SERVER['PHP_SELF'] with 'all_manufacturers_categories.php' which is the more standard osCommerce way. If you want some flexibiility in how you name the file, add it as a define in includes/filenames.php and use the defined value. (you should have plenty of examples like in contact_us.php for how to do this) Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
Guest Posted February 27, 2007 Share Posted February 27, 2007 Nice contrib - thank you. Any chance of adding a split page result for those shops with a ton of manufacturers to list? I went ahead and submitted a new All Manufacturers contrib to paginate the results : http://www.oscommerce.com/community/contributions,4938 Corrina Quote Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted February 27, 2007 Author Share Posted February 27, 2007 I went ahead and submitted a new All Manufacturers contrib to paginate the results :http://www.oscommerce.com/community/contributions,4938 Corrina Hi Corrina, Thanks for posting this, Just to be clear on this: your contribution only lists the manufacturers, not the categories they have products in. So these are really different solutions. Hopefully it does meet Martha's need. Carine Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2007 Share Posted February 28, 2007 Hi Corrina,Thanks for posting this, Just to be clear on this: your contribution only lists the manufacturers, not the categories they have products in. So these are really different solutions. Hopefully it does meet Martha's need. Carine Hi Carine - Ok - I can modify this to include the categories. I don't think I realized that the manufacturers were tied to categories. Is there already a contrib that does this ? but without the pagination ? I think so ....... Version 2.1 is on the way! lol. Corrie Quote Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted February 28, 2007 Author Share Posted February 28, 2007 Hi Carine - Ok - I can modify this to include the categories. I don't think I realized that the manufacturers were tied to categories. Is there already a contrib that does this ? but without the pagination ? I think so ....... Version 2.1 is on the way! lol. Corrie Yes, this is the support thread for it, but it obviously doesn't do pagination. :lol: But maybe in the morniing when I get up again in about 6 hours you'll have it done :thumbsup: Carine Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
thegateways Posted February 28, 2007 Share Posted February 28, 2007 Thanks for your contribution for that link! Quote Link to comment Share on other sites More sharing options...
azer Posted June 14, 2007 Share Posted June 14, 2007 is there any way, to transform it to a module so i can call it in the index of my shop ? Quote MS2 Link to comment Share on other sites More sharing options...
upgrade Posted March 13, 2008 Share Posted March 13, 2008 (edited) Great contribution. But I have a problem, when I click on a category, instead of showing me the products from that category, it shows all products from that manufacturer. It shows the categories that belongs to that manufacturer with the number of products, but it takes me to all products. Strange, because the link in the browser seems to be fine: h t t p://localhost/index.php?manufacturers_id=43&category_id=122 Any ideas? Edited March 13, 2008 by upgrade Quote Link to comment Share on other sites More sharing options...
ecustomwheels Posted March 17, 2008 Share Posted March 17, 2008 (edited) I have this contribution installed and my images are sorta messed up. Could someone help me with my images Visit My Website I want them to look like something like THIS Thanks for any help. Edited March 17, 2008 by ecustomwheels Quote Link to comment Share on other sites More sharing options...
ecustomwheels Posted March 19, 2008 Share Posted March 19, 2008 I have this contribution installed and my images are sorta messed up. Could someone help me with my images Visit My Website I want them to look like something like THIS Thanks for any help. Quote Link to comment Share on other sites More sharing options...
neetjedem Posted November 13, 2012 Share Posted November 13, 2012 Is it posible to show just one manufacturer? Something like manufacturers_id=xx and then show the one manufacturer with all available categories? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.