Magento: Shop by manufacturer/brand/character/etc – Attribute Info Pages

Categorized Under: 357 Commented

Update 14.10.2010: A new release is out, and now is marked as stable, with these known issues:
- Configurable products with associated simple items that use the same attribute are not shown
- make this work on flat catalogs (If there is anybody with experience in dealing with the Magento collection – programatically – please take a look, maybe you have the solution – this project will see very little resources from me from now on)

This extension allows shop owners to define additional information for attributes which are defined in their catalog. It displays pages with a logo, an external link, an HTML description and the product listing for the specified attribute: be it manufacturer, brand, character, artist, supplier, or even color… whatever you define. It works for drop down and multiple select attributes.

Examples with  this extension:


Installation instructions:

Install this from Magento Connect: change your Magento Connect Manager preferences to allow for beta state extensions, use the magento-community/DC_Catalog extension key and install the extension. Remember to refresh cache, log-out and login again (just the usual stuff :) that can save some frustration).

After install, go to System->Configuration and look for the Attribute Info Pages tab under Catalog. This extension operates globally, so the configuration tab will not be visible in stores/websites config. Here select the attributes that you want pages for (eg.  manufacturer, brand, etc). Now you have the module setup and can make the desired changes in the templates. For full control over the pages, go to CMS->Attribute Info Pages.

If you have custom made templates, you should copy the files from /app/design/frontend/default/dc_catalog to your template folder.

To display the attributes in the product view page, open the file /app/design/frontend/default/[theme name]/template/catalog/product/view.phtml and add this code somewhere (preferrably after the code for the product name):

if($_product->getData('manufacturer') > 0) {
echo $this->getChildHtml('attributes.manufacturer');
}

Optional, to display the attributes in the category listing, open the file /app/design/frontend/default/[theme name]/template/catalog/product/list.phtml and add this code somewhere in the for loop (preferrably after the code for the product price):

if($_product->getData('manufacturer') > 0) {
if ($block = $this->getLayout()->getBlock('attributes.manufacturer')) {
echo $block->setProduct($_product)->toHtml();
}
}

Be carefull that the product variable may be different, depending on the template designer. The stock template uses the $_product variable, but you might find $product, $prod, $p, etc. and be sure to change the variable, if necessary, in the code snippets above.

Similar syntax should be used for other attributes: they must by defined as blocks in /[template_folder]/layout/dc_catalog.xml (I hope the comments and structure are self-explanatory):

<block type="dc_catalog/product_attributes"
name="attributes.manufacturer" as="attributes.manufacturer"
template="dc_catalog/product/view/attribute.phtml">
<action method="setAttributeCode"><value>manufacturer</value></action> <!-- process this attribute_code -->
<action method="setImageOnly"><value>0</value></action> <!-- if true doesn't show if there is no image uploaded -->
<action method="setTextOnly"><value>0</value></action> <!-- if true shows only text, no matter if there is a logo -->
<action method="setImgResizeTo"><value>0</value></action> <!-- eg. 75x60 or 75x or x60 - resize image to be maximum [width]x[height] -->
<action method="setImgAlign"><value>right</value></action>
<action method="setBannerResizeTo"><value>0</value></action> <!-- eg. 75x60 or 75x or x60 - resize banner to be maximum [width]x[height] -->
<action method="setBannerAlign"><value>block</value></action>
</block>

You can alter the layout for the category listing with parameters like above or by copying the /app/design/frontend/default/[theme name]/template/dc_catalog/product/view/attribute.phtml to a new file and changing in the layout/dc_catalog.xml the reference to the new file, for example:

<catalog_category_layered>
<reference name="category.products"><block type="dc_catalog/product_attributes"
name="attributes.manufacturer" as="attributes.manufacturer"
template="dc_catalog/product/view/attribute-category.phtml">
................
</block>

In the product page you can display a banner instead of the logo of the manufacturer (optional). When editing the attribute info, just add the banner in the “Product Page Information” tab. If there is no banner uploaded, the logo will be displayed. By default, the banner will be displayed as a block. The “all manufacturers” page and the detail page will display only the logo.

If you want to uninstall this template, remove DC_Catalog.xml from /app/etc/modules, delete the catalog_attribute_page table from the database, clear the cache and logout.

NOTE: The product listing is based on the layered navigation collections/models. The collection is initialized with the root category of the current store, so make sure the root categories of your stores are ‘Anchors’!

Using this extension in a multi store setup

When you define attribute labels for each store on your attributes, the “All store views” label will appear in the pages list, duplicating the store attribute. Here is an example with Aiwa from the attribute editor and the info pages table:

To keep things simple, use a hyphen (-) in front of the “All store views” label (or any other label that you want to disable) and the script will filter it out (I know it’s more of a hack, but it’s simple, like I said).

This allows you to filter out manufacturers in different store views that you don’t want to display, but you have to always write the labels of the attributes in the sites where you want them displayed. Here is what I mean:

Store view 1 has manufacturers: LG, Sony, Samsung, HP, JVC, Panasonic, Acco, Aiwa
Store view 2 has manufacturers: Yamaha, Philips
Store view 3 has manufacturers: BlackBerry, Nokia
All the labels for the “All store views” attribute will no longer be displayed in the Attribute info pages. Another cool thing is that you can add for example Philips to Store view 1 and define a different info or logo for it in that store view than in Store view 2. If you have the same manufacturer in all three store views, then you can use only the General one (without the hyphen, of course), but all views will have the same info and logo.

Having trouble with this extension?

- Remember to set “anchor” for root categories

- You should be familiar with the templates in Magento and know where to find the product display template. If you don’t have a product/view.phtml file, search for it in /app/design/frontend/base and use it in your template folder.

- If you get a lot of  pages with “There are no products matching the selection” or missing products in the filter, there might be something wrong with the attributes in your database. It’s hard to check, because you have to check directly in the database, and the Magento tables are extremely normalized. The simple explanation is that attributes are stored as text values while this script filters for integer values when searching for manufacturers (I found this while working on the Magento sample database). You could also come across this if you have migrated from older versions or from faulty imports. If you care to look in the database, look for values in the catalog_product_entity_varchar table (should have been in the catalog_product_entity_int table). To fix, you should edit the products, remove the manufacturer attribute, and then assign it again, and it should appear in the filters.

Developer notes:

The code is heavily based on the CMS Page module. Upon installation, the extension installs a new router which checks for attribute_code’s (the ones selected in the config section) in the url, and then for an identifier (if one is saved in the attribute pages table) or tries to match one of the existing attribute values to the rest of the url.

The attribute info pages in admin are displayed with a right join to the attributes tables, so if you haven’t created an attribute page yet, you still view all the attribute values that can be processed and are available in the frontend. As MySQL doesn’t support full joins, in time you could find orphan attribute pages  (not linked to an attribute value – maybe you deleted a value). These orphan pages will be visible in some future version, and you will be able to delete them.

This extension is released without any guarantees, as-is, under the OSL License, so you can use it whatever way you like it. The author will not be held responsible for any damages caused by installing this extension. We recommend making backups to the database/files prior to installing it. Still, we would like to know if you use it or like it, so please drop us a comment below with your opinion, suggestions or other ideas.

Tested in Magento 1.3.2.3 – 1.4.0.1

2dos:
– display the full layer navigation when viewing an attribute page
– image/logo resize in product page
- include in sitemaps
- show all values for an attribute (eg. all manufacturers page)
- blocks with popular attribute values (eg popular brands)
- disable some of the values (eg. do not show manufacturer xyz)
- other ideas/wanting to help? – let us know in the comments or the extension discussion area

Update Log:
03.09.2009 – initial release v0.1.0
06.09.2009 – v0.1.1 updated blocks, templates
10.09.2009 – v0.1.2 changed to beta, problems with the magento connect upload process
22.09.2009 – v0.1.3 added prefix to tables, logo resize
11.03.2010 – v0.1.6 fixes, Magento 1.3 and 1.4 compatibility. The root category selection is now applied on the layer object, not the product collection so hopefully the bug with persistent layers across attributes is fixed
17.03.2010 – v0.1.7 hacking the multi store setup with attribute names, added the banner display in product view pages
25.08.2010 – v0.1.8 fixed windows uploading logos, the wysiwyg editor in magento 1.4, display the description only on the first page with products, preparations for products with multiple select attributes
23.09.2010 – v0.1.9 added multiple select attributes display in product pages, added display of attributes in category listing, removed “Preview” in admin
14.10.2010 – v.0.2.0 added smarter layered navigation (drill down in categories until there are more categories visible, hides current attribute in filters), new field for page title, display the store attribute label in breadcrumbs and other fixes
17.10.2010 – v.0.2.1 small typo fixed

[sourcecode language='css'][/

357 Responses to “Magento: Shop by manufacturer/brand/character/etc – Attribute Info Pages”

  1. Nightfly says:

    Awesome. Thanks for sharing!

  2. webtik says:

    Hi,

    Very nice extension…
    I installed well the package, however i keep on to refresh the cache and no tab appear in my admin system… :(

    And if i want to see where the package is installed… i cant see anywhere

    Thanks for your help…

    • Adi says:

      Hi webtik, to see if the extension is installed, go to system->configuration->advanced and there should be the entry DC_Catalog on Enabled. If there’s no DC_Catalog entry, re-install from MagentoConnect manager.
      The physical files reside in /app/code/community/DC/…
      If that is ok, go to CMS->Attribute Info Pages first, as this will initialize the extension (create the database table and setup the system entries for the extension). After that, go to the system config and you should see the new tab.
      Hope this helps

  3. webtik says:

    Hi,

    Thanks Adi for your help ;) but nothing change :( In fact nothing is installed!!! Even if i reinstall this extension nothing change really…
    Its strange coz i dont really meet this problem before with other extensions…

    I dont use the defaultroot category maybe its the issue…? Im wondering

  4. webtik says:

    Adi,

    Just to precise i use a local magento with wampserver 2.0h it may be the trouble?
    Coz with magento connector it find the package (19Ko)
    the message is ok
    Starting to download DC_Catalog
    done: 19,450 bytes
    install ok: channel://connect.magentocommerce.com/community/DC_Catalog-0.1.2

    but when i browse my magento directory i cant see any files or directoy like DC_catalog…

    Im confuse really :(

  5. webtik says:

    Ok i find out that all the files are stored in downloader directory but the process didn’t copy the files in the magento/app/ directory… Is it possible i proceed manually ?

    • Adi says:

      First, try to install from command line. I use Linux, don’t exactly know on Windows, but try these command from the Magento root:
      pear.bat install magento-community/DC_Catalog
      or try to figure the install command by “pear.bat help”
      Otherwise, you can try to copy everything manually from the tgz file:
      DC to /app/code/community/DC
      frontend to /app/design/frontend
      the languages if you need them
      and most importantly the modules/DC_Catalog.xml to /etc/modules/DC_Catalog.xml (this will activate your module)
      Check your email, I sent some contact info.

    • Adi says:

      btw, did you install ANY OTHER extension on that test server? did it work ok?

  6. webtik says:

    Thanks again for your help, now it works ^___^
    I find out why i didnt see the files… coz of my wamp settings…!

    Now everything is ok, i’m using it ;)

    Thanks Adi for your great help…
    Apologize i never imagine that it will be my wamp setting the problem :(

    And congratulations for this nice extension and to share it ;)
    To explain the pb, a while ago i change the directory of my wamp installation it was the reason why… :(

  7. Dat says:

    Hi,

    First of all great work and thank you for sharing!

    I was wondering would I able this to my template? I have been trying with what you have wrote but it doesn’t seem to work. Hope you can give some pointer on how I can achieve it.

    Thank you,
    Dat

    • Adi says:

      If you are sure the module is installed correctly (see also the above comments), then edit the file /app/design/frontend/default/default/template/catalog/product/view.phtml and add this code somewhere (preferrably after the code for the product name):

      if($_product->getData(‘manufacturer’) > 0) {
      echo $this->getChildHtml(‘attributes.manufacturer’);
      }

  8. Irineu says:

    Hi Aid… Im trying install this extension manually cause using connect didnt work well.

    When i install manually and i go to cms->attribute info pages show this error

    SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘uanstore.eav_attribute’ doesn’t exist

    Can u help me!?

  9. Irineu says:

    I found the solution… Just rename “eav_attribute” to “prefix_eav_attribute”.

    Ps. I had to create the table manually.

    • Adi says:

      Thanks for testing this module and reporting… As I remember, I used the tables without prefix in the code… my fault. I will make the necessary changes and will upload a new version soon. And I think the magento connect error is caused also by the missing prefix.

    • Adi says:

      Grab the new version (0.1.3), it now takes into consideration the prefix for the tables

  10. Adam says:

    Adi,

    A few things:
    1) The menu item for the info pages is under CMS but you have a screen shot showing it as part of Catalog > Attributes. Also, if you select the menu item from CMS, the catalog menu item is highlighted. I think there is a configuration change that you made somewhere which is lost.
    2) My expectation is that once I successfully install the extension, if I preview some info page, I should see a list of all the products with that brand or manufacturer. I don’t see that, only “There are no products matching the selection.” I noticed the comment to “set root category to be an anchor” comment and I’m still getting the problem.
    3) It would be GREAT if you added something (perhaps just some code snippets) that would let you add a list of brands in a controllable way to the navigation and/or create a “All Brands” page.

    • Adi says:

      Thanks for reporting, Adam
      1) You are right, in version 0.1.0 the module was in Attributes, but changed to CMS later. In the next version I will update the config and screenshots to reflect this.
      2) I experienced the same thing with the sample database from magento. See the developer notes above, maybe you have some attribute problems. This can be solved manually in the database. Check first (with latest Magento) if you can update the manufacturer/brand to another value for a product. Maybe the attribute value is stored as text and not as int in the db.
      3) this is also planned, just need some time to get into it. Looking for ideas on how to build it (what if the shop has 1000 brands or manufacturers? :) )

  11. Paul Peelen says:

    Hi Adi,

    I have a question which might be the same as point 2 of Adam. I have manually added a new attributed called “pattern” which is a multiselect.

    I added the PHP code to the view.phtml and the XML block to the xml page. On the product page it shows “Pattern Striped” with a link on Striped, but when clicked I get a page with the text “There are no products matching the selection.”

    I am quite new to Magento, and my question is: Is there a way to fix this, either for me by adding the attribute a different way or by adapting the code that is searches in the “correct” place?

    Best regards,
    Paul Peelen

  12. milog says:

    I had 0.1.2 working fine, then I installed 0.1.3 and now the attribute pages show all visible items. I have the same problem with both 0.1.2 and 0.1.3. Do you know why this might be?

    Thanks!

    • milog says:

      Nevermind. You have to make sure that in the product attribute settings “Used in product listing” is set to yes.

  13. Lars C says:

    Great extension and good implementaiton idea!

    Would be good to have the value in the attribute specs table linked, too…

    Also, the attribute value page doesn’t list all products with the same attribute value on my installation.

  14. Dat says:

    Hi,

    Great Extension. I got it installed and working but one alittle problem for me is when I click on the manufacture page, the page doesn’t show any product that is in the same manufacture. Here is the link http://www.trendshop.ca/manufacturer/alvita. It would be great if you can help me out on this.

    Thank you,
    Dat

  15. Dat says:

    another question is how would I add the manufacture link on the list view page?

    Thank you
    Dat

    • Adi says:

      Hi, I see you managed to display the link in the pages. Be sure to follow the hints from above (for example make sure the root categories of your stores are ‘Anchors’). I also noticed that you might have an error in your pages (http://www.trendshop.ca/manufacturer/shibuya – the output is truncated by a fatal error) but I can’t figure out what it might be. Try to test it yourself on a test server or enable the debugging options in Magento or php config for a little while to catch this error.

    • Adi says:

      I read again your question, and you actually want to display the manufacturer link in the category page? That’s not an easy thing to do :) And you would get in the manufacturer’s page the products listing with links to the same manufacturer page, which is quite awkward.

  16. Dat says:

    Hi Adi,

    Thank you for helping me out. I do have the root categories of my store ‘Anchors’. The question is how would I get the products that are in the same manufacture to display. Apparently its not showing any products at all.

    Thank you,
    Dat

  17. startupkit says:

    Hi,

    I saw, that there also is experimental code for showing links in the additional contents area.

    When I change the template here:

    this works. But how can I get it to work with your Block (DC_Catalog_Block_Product_Attributes)? Sorry – I’m quite new to magento, but I want to learn it properly.

    BTW, I also plan to build a “list-attribute-pages” Block, which I can contribute back, when it’s done.

    • Adi says:

      Indeed, the code is for displaying the “attribute table” in the product pages. It is not finished yet, a new version will implement it soon. Your comment got trimmed of your code, it doesn’t allow the tags inside.
      It’s great if you plan to build upon this extension!

  18. paul says:

    hi. i installed the extension and when i click on “Preview” to see the pages, it doesn’t display any products.

    http://www.redmousecomputers.com/index.php/manufacturer/gateway-acer-retail/index/___store/0/

    also how can i make the url’s more seo friendly? I have Server Rewrite enabled on my site and i tried refreshing the url rewrite cache, but it didn’t work.

    • Adi says:

      Hi,
      It seems you have forgot some settings. Is your root category’s “Anchor” set to yes? Are the products linked to the correct shop? Have you refreshed the cache? Try to see the answers above, maybe its the same case.
      How much more seo friendly than this redmousecomputers.com/manufacturer/belkin would like them to be? :) You can edit the url identifier for each value in the admin, but the attribute code (manufacturer, brand) is fixed, linked to the attribute.

  19. paul says:

    oh i forgot to mention i have a custom template

  20. Ernesto says:

    Hi,

    I installed this extension on my website, it it working fine. However I tried to add layered navigation to it. I set the layout for 3 columns and basically just add the layer block* to the left column.
    Layered navigation now appears on attribute info pages, but it doesn’t work propertly, sometimes it work but inmediately after that it just get like frezeed in the options it got when worked. Don’t know if I’m explaining myself, for example you can arrive to an attribute info page and layered navigation will be correctly displayed for the attribute info page you are viewing, but then you go to another attribute info and layered navigation will be displaying the same filters as for the first page (and those filters are wrong for this new page).
    I have tried some stuff I found in magento forum, that supposed to solve some problems that arise when you try to add layered navigation to CMS pages, but I have had no luck.

    I see you have “display the full layer navigation when vieweing an attribute page” already marked, but didn’t see where to activate this… could you give me a hand on this.

    By the way, thanks!, this extension is something I appreciate a lot.

    Regards,

    Ernesto

    *

    • Adi says:

      Hi, thanks for testing and reporting the issues. The layered navigation is included by default in the layout, the page is based on the 3 column template. I will try to duplicate this behavior you are describing, and get back to you.

      • Drew says:

        I’m having the same issue. The layered nav loads up, but only once — as if it has gotten cached and then every other attribute page loads up the cached version. You can refresh caches and then the first attribute page you hit, the layered nav becomes the default for *all* the attribute pages.

        Maybe a caching issue?

  21. Alan says:

    Hi,

    I would like to display a “Shop By Brand” drop down menu in my top navigation. When clicked the dropdown would appear with a list of all the brands. Clicking these would open the Brands page.

    Is this possible with this extension?

    Thanks!

    • Adi says:

      Unfortunately, it is not possible out-of-the-box, at the current state of this extension. But you could use some of its code to generate the drop down menu like you need.

  22. Jake says:

    I have your extension installed on magento 1.3.2.1 installation. The manufacturers and some other attributes work fine. I have some attributes that are displaying products that do not have those attributes associated with them when I preview the “sort by attribute” page. I have refreshed all cache and rebuilt flat product and category catalogs. These attributes are dropdown types and are enabled for layered navigation. Do I have database corruption?

  23. Jake says:

    P.S. when using the normal layered navigation to filter by these attributes, it works fine. It only displays 22 products when using layered navigation but when I try the “sort by attribute” page from your extension it displays 3011 products.

  24. Ernesto says:

    Hi Adi, Have you look at the issue I described? I’m still stuck there, you could see the behavior on my site, just click on a brand logo and navigate thru the layered navigation, then go to another category and click on a brand logo again and navigate thru the layered navigation again…, it works perfectly the first time, but the second one it shows the same navigation index (product list is fine).
    By the way, could you send me an email to keep working on this.

    Regards,

    Ernesto

    • Adi says:

      Ok, this seems to be happening only when browsing the second level category. I will try to fix it, I think by next week I will publish a new version, with the ‘all manufacturers’ page and other goodies.

  25. Res says:

    Hi,
    this is great. It worked exactly without debug as you wrote. Thanks a lot! A very valuable extension.
    yours from Switzerland

    Res

  26. Tof says:

    Thanks for this great extension. I wonder if it’s possible to filtrer the list with only top level product in case of configurable product ?
    If not, can you tell me where the query is construct ?

    Regards,
    Tof

  27. max says:

    hello, everything works perfect, except i am unable to put code: if($_product->getData(‘manufacturer’) > 0) { echo echo $_product->getChildHtml(‘attributes.manufacturer’); }

    in other files (like /product/list/view/options/simple.phtml) – it just does not show anything. is it possible to change this code somehow in order to make it work not only in view.phtml. Thanks.

  28. max says:

    also, for some reason, when displaying manufacturer images, it uses wrong slash: “\” instead of “/”, and in browser it is getting translated to “%5C” resulting in not showing the images at all. it there a workaround for this? thanks for your hard work.

    • max says:

      fixed: /template/dc_catalog/page/logo.phtml ->

      getData(‘img_align’)) {
      $img_align = $this->getData(‘img_align’);
      }

      $_attr = $this->getAttributeInfo();
      $_imgHtml = ”;
      if ($_imgUrl = $_attr->getImageUrl()) {
      $_imgUrl = str_replace(“\\”,”/”,$_imgUrl);
      $_imgHtml = ‘htmlEscape($_attr->getValue()).’”
      title=”‘.$this->htmlEscape($_attr->getValue()).’”
      align=”‘.$img_align.’”
      class=”attribute-image” />’;
      }

      ?>

  29. Siva says:

    Hi,

    I have downloaded this extension and add the content in the view.phtml as you mentioned above. And I have added a CMS brand page in Attribute Info Pages tab. And I clicked for the preview but i didn’t get the products list of that brand. Can u pleas tell this extension will work for magento version 1.3.2.4? And you please what are the changes i have to do for getting products of that brands.
    Thanks in advance.

  30. [...] new version of the “Shop by manufacturer” extension will display all the manufacturers/brands/etc that you have enabled. And as a [...]

  31. mike_h says:

    I installed and it looks/works great!

    The only problem I am having:

    When I add an attribute and go to modify the “Attribute Info Pages” under CMS, it displays two of each attributes I added. It created duplicates.

    Is it supposed to do this?

    Also, to make this module more SEO friendly, you should allow for custom page titles and header tags ( ).

  32. [...] of them wrote they installed ok but they didn’t appear in the menu the way they should (like Shop by manufacturer/brand/character) and some of them just reported errors while [...]

  33. Ziki says:

    This is awesome, works like a charm. Thanks a lot for sharing

  34. alex says:

    hello i installed/modified the extension well, although i have a problem:
    if i hit from the attribute info pages, the preview of a manufacturer, i will go correctly to his page.
    for example: hxxp://localhost/manufacturer/test1 displaying all the products of manufacturer test1 etc
    but if i go just hxxp://localhost/manufacturer/ it doesnt show anything.. (just the blank page, with no warning or whatever)
    any info?

    also i am trying to find a good tutorial of how to add dropdown sort list by manufacturer in the products categories.
    i want to put it after the default dropdown (name,price etc)

    thanks again

    • Adi says:

      Hi, thanks for reporting. You should enable debug mode in magento to see what the error is about. Edit index.php from the root and uncomment the line #ini_set(‘display_errors’, 1);
      Maybe I can help you when you see what the error is about. What version are you using?
      For the dropdown you should search the magento forums, i think you might get some info from there.

  35. alex says:

    thanks for the superfast reply.
    i’ll enable the debug (actually i was looking for it.. :)
    and i’ll post back asap

    p.s. sorry for my “poor” english

  36. alex says:

    i’m using Magento ver. 1.3.2.4
    i did enable ‘display_errors’ , but where am i supposed to see if there is an error? (log or something)
    as i said if go ://localhost/manufacturer i see my design page but in the content there is nothing (blank).
    It doesnt look that there is an error most likely that it goes to a blank page cause there is nothing to show?
    (but it doesnt say “no results found etc)
    it should give me the /root of my manufacturers :
    test1
    test2
    test3 etc etc

    if i go ://localhost/manufacturer/test1 etc i can see all the products choosed by manufacturer test1

  37. youngi says:

    this module does not show configurable products…only simple products

  38. youngi says:

    oh, and in the first place, configurable products cannot have a manufacturer attribute…how can this be bypassed?

  39. youngi says:

    nevermind, manufacturer was by mistake set to be applied for simple products only. all is ok, great job for this module.

  40. karlo says:

    Hi I’m so stumped now where do you place the code

    if($_product->getData(‘manufacturer’) > 0) {
    echo $this->getChildHtml(‘attributes.manufacturer’);
    }

    ? any help would be greatly apprecaited. ;)

  41. Alan says:

    I uninstalled by following the instructions and deleted the catalog_attribute_page

    I now want to reinstall but when i do via Magento Connect and navigate to Attribute info pages i get errors saying the table doesn’t exist.

    • Adi says:

      This probably means the extension didn’t re-install properly. You should try to uninstall it, clear the cache, logout of admin, login again and then try to re-install it.

  42. budoink says:

    Thanks for such a great extension, this is one of the huge things that magento is missing, and your plugin works perfectly.

    My only question is whether there’s a way of getting an automated list of brands/manufacturers on the example.com/manufacturers/ page? or even the ability to add your own content like a cms page or template perhaps? mine is just blank at the moment

    any help would be really appreciated
    thanks

  43. Nikita says:

    I can display in favorites(or another dc_catalog block) in left or right layout.

    Can you describe how to insert them via update layout?

  44. Ryan says:

    Hi,

    im having an issue with your extension. I have it installed, but its not showing None as the only attribute under Attribute Info Pages->Attribute Selection.

    • Ryan says:

      And, Nevermind, i figured it out. Base installed didnt have any attributes product list enabled.

      Thx!

  45. Nikita says:

    Second problem that i have is with multiselect attributes.

    Product has multiselect attribute “books”. Multiselect have 4 items-books named first,second,third and fourth.

    I have for test 5 products. Two of them have multiple selected books.
    product1 select second and third book
    product2 select first book
    product3 select second and third book
    product4 select third and fourth book
    product5 select fourth book

    then i go to /books/first/ i see 1 product. Its wright.
    But then i go to /books/second/ or another book that have multiple selected attribute a get no products.

    Such thing does with another multiple select attribute

    • Adi says:

      Hi, this extension was not designed to work with multiple select attributes. Unfortunately, for your case, it needs to be changed to make it work.

      • Nikita says:

        As I remember Magento sends multiselect values as string separated by comma. I guess it need to convert value to array via explode and use foreach to process each element. I’m not bad in php. It will be very usefull if you can help me to find this place?

      • Nikita says:

        Also i need you help in comment 43

  46. JohnB says:

    Hi Adi, thanks for this extension. We’ve customized it a little bit and now it displays the brand info on the product detail page. However we don’t get any output if we use “get more of this brand”. We haven’t used the standard “manufacturer attribute” but made our own “brand attribute” but that shouldn’t be the problem. I hope you can help me out.

  47. Hi.

    This extension does not worn in Magento 1.4. When clicking the Attribute Info Pages tab all I get is an “Access denied” page.

  48. Nikita says:

    Then i press edit attribute page in Magento 1.4.0
    Invalid argument supplied for foreach() in /lib/Varien/Data/Form/Element/Editor.php on line 201

  49. Brendan says:

    hi,

    firstly thank you for your extension.

    I was just wondering…
    I have setup a product listing which works like
    http://localhost/material_type/pvc

    But i was wondering if i could rewrite this to display a friendly name like “http://localhost/pvc”

    Can i use the field “External URL” to do this?

    regards
    Brendan

  50. Drew says:

    Hey, great extension! I see you have a phtml template file “all.phtml” — looks like that will create an all attribute page. Is there a way to trigger this to work? Or is this pending some more revisions of the extension? Thanks.

    Drew

    • Adi says:

      I just uploaded a new version, Magento 1.4 compatible. The layout/dc_catalog.xml was missing the reference to all.phtml, now it is fixed.

      • Nikita says:

        Can you write changes from last version avaible to new 1.4 compatible?
        What do you change at dc_catalog.xml and how to use all.phtml page?

        • Adi says:

          The latest version has fixed the “all manufacturers” pages, there was a missing reference in the xml layout file and some small changes in the admin to make it work in magento 1.4

Leave a Reply