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. Todd says:

    Hi I have just uploaded via Magento Connect and it does not seem to be installing. I checked for folders via http://FTP…nothing there. Also there is a comment on Magento conncet saying that there is an error.

    http://www.magentocommerce.com/magento-connect/jimmysp/extension/1901/shop-by-manufacturer-brand-character-etc—attribute-info-pages/reviews#reviews

    Can you confirm if this is a problem please?

    Also is the Flat product/categories bug fixed.

    Thankyou

    • Adi says:

      This is odd.. on my test server it installs and works. Can you install other extensions? Try the manual installation, see above a previous comment.
      The person who commented probably didn’t set the Connect manager to “Beta”!?!
      I cannot reproduce the flat product catalog errors, cannot figure out the problem.
      Regards

  2. joe says:

    Hi,

    .. thx for this great extension. Everything works great (1.7beta & 1.4.1).

    I have one question:

    i’d like to display the logos of (for example) all brands logos in a block on the startpage. I’m trying it for nearly half a day and i’m not sure if if’s possible with dc_catalog.

    If anybody could give me short hint. Otherwise i’ll create a block and just grap the attributes, but i’ll prefer to use the dc_catalog logo function from the backend.

    thx and greetings,
    joe

    • joe says:

      .. ok, got it working ;-) ! i added this to my cms page:

      5
      marken


      5
      marken

      greetings

      • joe says:

        .. ahh, shit. not code allowed.

      • Roman says:

        Hello,
        could you please contact me? I want to know how to build the logos block on homepage.

        (I hope you will get my email from this reply)

        Thank you

        • joe says:

          hi roman,

          sorry, no email reached me. i cannnot post any code here. i try to post it without brackets… So at the beginning and the end of each line add !!!!! i also duplicated the all.phtml and renamed it. so i was able to modify it and put a slider for the logos in the footer.

          By the way, this extension is really great! I’ll be also really happy if u (adi) could insert the multiselect thing. If u finish it, give me u’r donation box link ;-) !

          ====================================================

          to get a list in a box just add this in yout page.xml:

          block type=”dc_catalog/list_all” name=”list_all” before=”-” template=”dc_catalog/list/all(or copy, modify and put namehere).phtml”

          action method=”setColumns”
          value
          5
          value
          action

          action method=”setAttributeCode”
          value
          brands
          value
          action

          block

          greetings,
          joe

  3. Roman says:

    Hello, how can I translate the string “Products by atr_name: value”?

  4. Roman says:

    anyway…. great extension :-) thanks

  5. Jake says:

    Joe… what did you do to the all.phtml file to make the slider? I know it’s pain to post code here but wow.. I would love to have this on my front page!

  6. joe says:

    hi jake,

    sorry, i’m not in the office and have no access to the svn, but this is how i did it:

    - i duplicated the all file and called it slider.phtml (so i included
    a slider.phtml).

    - as a code example i used this one:
    http://flowplayer.org/tools/demos/scrollable/index.html

    Greetings

  7. Haroon says:

    why everything is coming twice, for example all the attributes and their values, any help will be appreciated
    here is teh link
    http://www.readysteadybed.com/characters/

    also spellings are wrong in breadcrum how can i change that

    • Adi says:

      Take a look again in the description.. I think you have multiple shops on the same install and you need to disable the values for your Global shop. You will also find the info for translating the breadcrumbs in the locale files!

      • Haroon says:

        Thanks for your reply adi, i manage to fix the bredcrumb problem but for the multiple attrributes still couldnt fix it, i have only 1 store and products are also not showing up any hint

        Thanks

        • Adi says:

          Is this happening also in the admin grid? I see you have an attribute with logo and another one without logo (Ben10). Have you set them as ‘favorite’ characters?

          • Haroon says:

            yeah in admin i am getting the duplicates, no i havnt setup any favourite but its coming in info-pages grid

          • Adi says:

            Go to Admin->Catalog->Attributes and open the Character attribute. I guess the scope is set to global, so set it to “Website” or “Store view”. Sorry, the other way around… Set it to Global instead!

  8. Haroon says:

    Thanks Adi for your help and suggestion, tried everything anyways am going to uninstall it. Greate extension though keep up the good work

    Thanks

  9. Christian says:

    It seems that it does not work properly in 1.4.1 with grouped products.

    In my config only the grouped products have attributes like manufacturer

    I always get No products found, no matter which manufacturer I choose

  10. Peter says:

    hi, is there any way how can i show info about attribute if i use standard layout navigation and i select (filter) the manufacturer from the list of attributes?

    i was thinking about adding cms block to categories, but i dont know what syntax should i use for {{block…}}

    • Adi says:

      This can be accomplished only if you start hacking the extension code, adding the blocks to the categories won’t do it. But this is the same as viewing the info page and filtering by the attributes, isn’t it?

      • Peter says:

        same but i can’t show different cms page for each manufacturer when i filter products by it, filtering just shows products

  11. Bizen says:

    Hi, in Magento ver. 1.4.0.1 on “Attribute Info Page”, for every manufacturer it shows 2 pages. The same thing on front end

  12. Alvar says:

    Installing it in the magento 1.4.0.0 or upper, the wysiwyg editor is gone. Anyone succeeds in fixing that? I need that badly. Thanks!

    • Alvar, add this just above “_prepareForm” to /app/code/community/DC/Catalog/Block/Admin/Manufacturer/Edit/Form.php

      /**
      * Load Wysiwyg on demand and Prepare layout
      */
      protected function _prepareLayout()
      {
      parent::_prepareLayout();
      if (Mage::getSingleton(‘cms/wysiwyg_config’)->isEnabled()) {
      $this->getLayout()->getBlock(‘head’)->setCanLoadTinyMce(true);
      }
      }

      • alex-s says:

        This solution did not worked for me, but the following code solved problem with wysiwyg editor:

        protected function _prepareLayout()
        {
        // Load Wysiwyg on demand and Prepare layout
        if (Mage::getSingleton(‘cms/wysiwyg_config’)->isEnabled() && ($block = $this->getLayout()->getBlock(‘head’))) {
        $block->setCanLoadTinyMce(true);
        }
        parent::_prepareLayout();
        }

        ————-
        Magento 1.4.0.1

        • Adi says:

          Thanks to @alex-s and @Craig Thompson for the code, I just released a new version which displays the editor and other fixes

  13. Memphis says:

    Salut Adi,
    Am instalat extensia ta si nu imi apare acolo pe pagina din sistem – configuration numai Gender sa selectez, nu-mi apare Brand sau manufactured. Poti sa ma ajuti te rog ? ovidiu pal id de meseenger !
    Mersi

  14. Memphis says:

    Imi apare scuze … nu am fost adaug eu producatori … acuma nu imi apare logo…. ma poti ajuta ? id : ovidiupal

  15. Alvar says:

    In the attributeinfo.phtml, how could I get all the name/url of that attribute? I’d like to make a pager for different values of the attribute. Great thanks!

    • Alvar says:

      For url, I mean url of the attribute info pages.

      • Adi says:

        Use $_attr->getData(‘identifier’) and you have the attribute identifier.
        Or look in the list/all.phtml:
        href=”getUrl(‘/’).$item->getAttributeCode().’/’.$item->getIdentifier(); ?>”

        • Alvar says:

          Yes, I know list/all.phtml lists all the urls. But how could I get all attribute items ($_items = $this->getValuesCollection()->retrieveAll()->getItems()) in attributeinfo.phtml, just like list/all.phtml? SOrry I’m new to magento and I can’t figure out how to access object of another class.

        • Alvar says:

          What I want to know is, in attributeinfo.phtml, how could I get an object of list/all in order to get all attribute values by $_items = $this->getValuesCollection()->retrieveAll()->getItems()?
          Thanks!

          • Adi says:

            I hope I understand this right, try with this code:
            //the attribute value collection
            $valuesCollection = Mage::getModel('dc_catalog/manufacturer')->getCollection();

            //set the store id and the main category from the store
            $valuesCollection
            ->addStoreFilter(Mage::app()->getStore()->getId(), true)
            ->addAttributeCodeFilter($this->getAttributeCode())
            ->addFavoritesFilter() //if you want only favorites
            ->addEnabledFilter();

            and then you can acces the attributes with $valuesCollection->retrieveAll()->getItems()

            Otherwise, you would have to change the Block/AttributeInfo.php file to add some methods which can be then accessed in the template file. Hope this helps.

  16. Victor says:

    i have a problem with my site; after install and configure this module, i can,t see images becouse url is not ok: http://www.localhost.com/magento/media//catalog\attribute\marca_ejemplo.gif

    (you can see “/” added and other bad…

    Any idea?

    thanks and regads.

    • Victor says:

      the problem was the file upload in backend updated a wrong name with that “\”…. i,va updated the correct name with myphpadmin and that,s ok.

      regards.

    • Adi says:

      I just updated the extension to 0.1.8 to fix this. can you take a look if it’s working ok now?

  17. joe says:

    hi adi,

    i just saw that u added the multiselect part and tried it ;-) .

    for grouped products it works fine, but i when i use a simple product with a multiselect attribute i get no products.

    is it a known bug?

    thx joe

    • Adi says:

      No, not yet.. I wrote ‘preparations’ :) In the controller part, the multiple select should build the product listing.
      For example, if you have authors linked to products you can already display server.com/author and server.com/author/author-name.
      I have to make the product page view now, to display the list of authors with links and I will release a new version.

      • joe says:

        .. ok, cool ;-) !

      • Yvo Alen says:

        Hi Adi,

        Any news on the product part for multiple select attributes.
        By the way, great work.

        • Yvo Alen says:

          Continued testing, sorry, it is working for multiselect but not in productview. Just one manufacturer/brand/author (in my case) is displayed, suppose a foreach statement will be necessary to list all.

          • Adi says:

            You are right, it still needs to display the multiple values in the product page. I am working on a preview version now, hope to release it in a couple of days.

        • Adi says:

          The multiple select attributes displayin is included with the new version, you might have a look.

  18. Victor says:

    I’m trying to create a block with all manufacturers to stay on each page of the site and at the moment I can not. In testing, I have built a new block on the page of manufacturers, copy of the block “all.phtml” by another name and I was not shown, only write “all.phtml”. Any ideas?

  19. Hi.

    Is this tested on 1.4.1.0?
    I used it for 1.4.0.1 but in the newest version every manufacturer page lists all products, even those with no manufacturer specified at all.

    With regards
    Mattias Bomelin

  20. ryukyufire says:

    Hi,

    Thanks for creating this extension. Now I am installing and testing the extension on my test site.
    When I edit the brand info page the following error comes up:

    Notice: Undefined index: image in /Applications/MAMP/htdocs/magento3/app/code/community/DC/Catalog/Block/Admin/Manufacturer/Edit/Tab/Main.php on line 120
    Trace:
    #0 /Applications/MAMP/htdocs/magento3/app/code/community/DC/Catalog/Block/Admin/Manufacturer/Edit/Tab/Main.php(120): mageCoreErrorHandler(8, ‘Undefined index…’, ‘/Applications/M…’, 120, Array)
    #1 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(139): DC_Catalog_Block_Admin_Manufacturer_Edit_Tab_Main->_prepareForm()
    #2 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Abstract.php(642): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
    #3 /Applications/MAMP/htdocs/magento3/app/code/community/DC/Catalog/Block/Admin/Manufacturer/Edit/Tabs.php(35): Mage_Core_Block_Abstract->toHtml()
    #4 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Abstract.php(642): DC_Catalog_Block_Admin_Manufacturer_Edit_Tabs->_beforeToHtml()
    #5 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
    #6 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
    #7 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
    #8 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(‘left’, true)
    #9 /Applications/MAMP/htdocs/magento3/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract->getChildHtml(‘left’)
    #10 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Template.php(144): include(‘/Applications/M…’)
    #11 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(‘adminhtml/defau…’)
    #12 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
    #13 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
    #14 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Adminhtml_Block_Template->_toHtml()
    #15 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
    #16 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Controller/Varien/Action.php(347): Mage_Core_Model_Layout->getOutput()
    #17 /Applications/MAMP/htdocs/magento3/app/code/community/DC/Catalog/controllers/Admin/ManufacturerController.php(99): Mage_Core_Controller_Varien_Action->renderLayout()
    #18 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Controller/Varien/Action.php(376): DC_Catalog_Admin_ManufacturerController->editAction()
    #19 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch(‘edit’)
    #20 /Applications/MAMP/htdocs/magento3/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #21 /Applications/MAMP/htdocs/magento3/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
    #22 /Applications/MAMP/htdocs/magento3/index.php(65): Mage::run()
    #23 {main}

    _____________________________end

    I activated the page and then I opened this page again to edit. All I changed was the page title. I didn’t add any image files or anything special.

    Thank you!

  21. vishal lakhani says:

    Hi Can any one tell me How can we show Brand’s Logo with product listing By this extension Please need this HELP ME!!!

  22. vishal lakhani says:

    I am using magento version 1.4.1 Please HELP me want to show brand images on product listing

  23. Tam says:

    I have successfully installed this extension, however, under:

    System->Configuration there is no Attribute Info Pages tab. Not sure where to look next.

    Thanks

  24. Victor says:

    hi, i have a problem in prod-environment; i think the problem is only with “community extension”; all of them show similar errors like this:

    downloading DC_Catalog-0.1.8.tgz …
    Starting to download DC_Catalog-0.1.8.tgz (25,507 bytes)
    . Could not download from “http://connect.magentocommerce.com/community/get/DC_Catalog-0.1.8.tgz”, cannot download “magento-community/DC_Catalog” (/home/xxxxx/public_html/downloader/pearlib/download/DC_Catalog-0.1.8.tgz: write failed (Undefined variable: php_errormsg))
    Error: cannot download “magento-community/DC_Catalog”
    Install Errors
    Download failed
    PEAR ERROR: install failed

    any idea?

    thanks!
    Víctor.

  25. vishal lakhani says:

    @victor Give permission 777 to your downloader folder then do again

    • Victor says:

      @vishal lakhani: recursive or only to that folder?

      thans!

      • Victor says:

        SOLVED !!!! i had a lot of problems, not only with installation but the real error didn,t show… that was “out of space, disk full”… buffff…..

        thanks!!!

  26. Rod6 says:

    I used this code in order to show the country attribute image on product page, but this won’t appear for some reason, yet the country page works correctly.

    This code previously worked for my another site. Suggestion, please!

    getData(‘country’) > 0): ?>
    getChildHtml(‘attributes.country’);?>

  27. Rod6 says:

    Sorry, I couldn’t post the code above.

    Basically, the image won’t appear on product page on version 1.4.1

  28. Brady says:

    Thanks for the extension. I installed it through Magento Connect on 1.4.1.1 and it seems to work well.

    I have a question. We sell laptop bags and I want to group multiple specific sizes into one generic size category. For example, I want to group 15″, 15.4″, 15.6″ and 16″ laptop bags into one group called 15-16″ laptop bags.

    Will your extension allow me to do that?

  29. Jerome says:

    How can i link the manufacturer listing page to the main link on my menu bar.

    I .e when i click on By brand, it will link me to the manufacturer page.

    I tried to insert the block type info but it’s not working

    • Adi says:

      Are you using some kind of extension to alter the main menu? If this is the case, I cannot help you. In stock installs, you should be able to see the “all” listing page by opening the url for the attribute code something like this: server.com/manufacturer or server.com/brand. I see on your server that it redirects to another page, that’s strange.

  30. Jake says:

    ok, brand new install V0.1.9 on 1.4.1.1 after setting everything up and clicking on an attribute link on my product view page. I get every item and every attribute in my entire store displayed in the layered nav and on the grid in the attribute page. Any thoughts?

    • Jake says:

      ok the problem is caused by using flat catalog products but if I turn off flat category products ALL of my products show out of stock lol

      • Adi says:

        Ok, I’ll take a look. Did you use the sample data or you just inserted products one by one?

        • Jake says:

          imported everything including importing categories. I had to manually assign the items to the correct website when I was done so they would show up in the catalog but other than that there were no issues. For the time being I have removed the “if” statement from the list.phtml file so people can buy products and I can still use your extension. The out of stock issue is a magento bug that has plagued the community for long time!

  31. Jake says:

    In addition, I’m trying to display the attribute label on all.phtml instead is the attribute code. For instance, at the top of the page it would read… “All Attribute Labels” instead of “All attr_lbls”. The page title should use the label as well for SEO purposes. I’ve tried using $_attr->getFrontendLabel but of course that does not work. Any help would be great.

    Thanks,

  32. The Clint says:

    The extension is great. It works perfectly on Default theme. I’m testing on Modern, made the modifications, copied the dc_catalog to the template dir. But $this->getChildHtml(‘attributes.manufacturer’); return an empty string. Ideas? Thanks.

    • Adi says:

      Maybe it’s a problem with the template XML file. You shouldn’t have to copy the dc_catalog folder, unless you plan on changing the output for the pages.

  33. James Niland says:

    I can’t seem to add manufactures or I just have not figured it out. I am new to Magento so I am still learning about it. Also I have four of each manufacturer, a total of 280 when I have a forth of that.
    Thanks James Niland

    • Adi says:

      You add manufacturers from the attribute configuration, in the catalog section. You can only add content to existing manufacturers.

  34. Nicolas says:

    How i can add “.html” at the end of the URLs?
    Ex. Currently the URL is viewable either by “manufacturer/toshiba” or “manufacturer/toshiba/”. I want the URLs to become like “manufacturer/toshiba.html”.

    Thanks in advance.

    • Adi says:

      You would have to change the code. Or you can use the canonical extension and customize it for this module.

  35. Jake says:

    Configurable attributes are not working with the attribute pages. Only simple products are displayed. Configurable products with associated simple items that use the same attribute are not shown.

  36. Marius says:

    hello
    great extension, works well but i have found something that doesn’t work:
    1. when i try to change the attribute logo nothing happens
    2. the layered navigation shows wrong information on the brand pages

    • Adi says:

      Thanks for reporting! I am preparing a new version with updates to the layered navigation and other bug fixes, will upload it in a couple of days.

  37. Simon says:

    Hi,

    I’ve installed the extension however once I 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).” part of the setup all I get in my list in None and Gender.

    Why is this? I have attributes for colour, brands and manufacturer but they dont show in the list?

    Thanks

    • Adi says:

      Try to find the differences yourself on how you configured those attributes: open two windows side by side with admin->catalog->manage attributes->gender and admin->catalog->manage attributes->manufacturer and see the differences between them.

      • Simon says:

        Thanks Adi,

        The odd thing is I don’t have an attribute of Gender at all, it has automatically appeared in the list upon installing, that’s whats confused me. If I can find out where the attributes are being pulled from the things would be a lot clearer

        • Adi says:

          It displays all the dropdown and multiselect attributes in the configuration. You have to configure the attributes in Catalog->Attributes->Manage attributes

          • Simon says:

            Right ok, your probably gonna laugh at me or call me for everything, but this is my first magento build, I’m unsure about dropdown and multiselect attributes – can you explain please?

          • Adi says:

            Well, if you have a blank install, you should add attributes first. Go in admin to Catalog->Attributes->Manage attributes and add the attributes. You can add different types of attributes (text, date, select, multiple select, etc) depending on how you want to manage your products. Make some tests, you will figure out easily the different attribute types. Then you can select them in the config and use this extension.

          • Simon says:

            Its all good, I worked it out using a combiniation of google and my thinking power! Thanks a bundle you started me on the right track!

  38. Sean Molin says:

    Just updated to 2.0, and I’ve lost the description and logo for each landing page. It only loads the products.

  39. Sean Molin says:

    A little more info,

    I’m on 1.4.1.1 and v1.9 was working flawlessly. I upgraded to v2.0 and it was having problems saving the page title, and the description wouldn’t show up even though the page was sent to enabled. I even uninstalled the extension, then reinstalled it at v2. The data stayed and the problems remained.

    I rolled back to v1.9 and it is back to normal.

    • Adi says:

      Thanks for reporting! Btw, I love your photo of Stonehenge! Magnificent!

    • Adi says:

      I checked again and I don’t find any problems. It might have not installed properly. In the latest version a new field is added to the DB table and the old data is moved in the new one (to split the page name and the meta page title). To see if you have the latest version you should look in the table core_resource for the record containing dc_catalog_setup. If this fails, you can manually run the SQL commands from the file DC/Catalog/sql/dc_catalog_setup/mysql4-upgrade-0.1.9-0.2.0.php (just replace {$this->getTable(‘catalog_attribute_page’)} with your own table name). The description field had nothing to do with this update.

      • Sean Molin says:

        Thank you for both the compliment on my photo and for investigating the issue!

        I have some other stuff that’s priority on my site, but as soon as I get down to another “tweak phase”, I’ll dig into upgrading this extension again. Fortunately, I don’t really *need* to upgrade to 2.0, I’m just a sucker for wanting everything latest and greatest. v1.9 works great, and I have it modified so I can just upload one image and have it perfectly sized for all three (four including fav) locations where it is used.

  40. Jesse says:

    Thanks for this great extension. I’m still using 1.9 and have gotten most of the functionality I was looking for.

    I do have a question regarding layered navigation and sef urls. Do you know if this module is compatible with other modules that improve layered navigation and sef urls such as:
    http://www.magentocommerce.com/magento-connect/EcommerceTeam/extension/4420/layered_navigation_seo ?

    What I would like is to have sef urls for the subcategories on the attribute info pages. I’ve already managed to load dynamic static blocks based on the active category in order to further improve the SEO of these pages.

    • Adi says:

      I have not tested any other modules, only on blank install. But I think the new version 2.0 might not work (out of the box) with other layered navigation modules because it extends the core classes. But who knows, it depends on how they coded it, and you should test it (preferably on a test setup)

    • Jesse says:

      @Adi

      Thanks for the reply, I’ll look into it.

      One other question:

      In app/code/community/DC/Catalog/Block/Attributeinfo.php it seems the page title is set using the value set in the admin area. I would like to create dynamic page titles based on the category that is being used. Do you know if it is possible to get information about the page being viewed in the _prepareLayout() function? Or perhaps you have other suggestions on how to achieve this?

  41. Just installed your great extension, but… it doesn’t work. :S

    The atribute page works well (laarzen.com/merk) but than I get a error (laarzen.com/merk/diesel):

    Warning: include(DC/Catalog/Model/Layer.php) [function.include]: failed to open stream: No such file or directory in /home/laarzen/domains/laarzen.com/public_html/lib/Varien/Autoload.php on line 93

    Any idee?

    • Adi says:

      Thanks, there was a typo.. fixed in v0.2.1.

      • @Adi thnx it works now perfect! However we get this error when deleting the image on the Attribute Info Page:

        Notice: Undefined index: banner in /home/laarzen/domains/laarzen.com/public_html/app/code/community/DC/Catalog/Block/Admin/Manufacturer/Edit/Tab/Product.php on line 62

  42. mo0k says:

    Hi,

    The extension works great, I just have one question:
    Is it possible when viewing a manufacturer page to only show the groupproducts? Some groupproducts have more than 100 single products, and it’s now showing them all in one big list..

  43. mo0k says:

    Just updated the extension, seems to be fixed in newest version :)

    • mo0k says:

      Or just occasionally, it doesn’t seem to work for all manufacturers. But I can’t find what’s causing the problem..

  44. Leon says:

    I installed 0.2.1 successfully, I can find system->configure->Attribute Info page under catalog tab, but I cannot find Attribute Info Pages at ‘Catalog->Attributes’, it still only has ‘Manage Attributes’ & ‘Manage Attribute Sets’

  45. Dirk says:

    Hi,

    we have the extention installed on Magento 1.4.1.
    Everything works fine, exepts the fact, that only the simple Products were displayed under the manufacturer site, and no configurable Products.

  46. Jake says:

    Multi Select Attributes are not working in the category listing correctly. For example… If an item appears with 4 attribute values selected and other items have 3 values selected on the same product listing page… all with display the 4 values. Sorry if I’m unclear, it’s hard to explain.

    • Adi says:

      Yeah, it’s hard to understand too :)
      Do you actually have a live example?

      • Jake says:

        Adi your form will not allow me to put my example in the website field. I’m assuming because it’s an IP address and not a domain name. Can I contact you some other way?

  47. scutterman says:

    In Magento 1.4.1.1, DC_Catalog 0.1.9, attempting to add an image to the “Content” section brings up the tiny_mce image box as standard, but clicking on the “browse” button to upload a local file gives the error:

    error: error in [unknown object].fireEvent():
    event name: open_browser_callback
    error message: MediabrowserUtility is not defined

    Also, attempting to use the key magento-community/DC_Catalog-0.2.1 to upgrade results in the error:
    permission denied (delete): /home/maxdetai/public_html/app/code/community/DC/Catalog/Controller/Router.php

    Any help would be appreciated

    • Adi says:

      I’ll look into that error when I have some time.
      You might have a permission problem on the DC/Catalog folder on the server. Be sure to make them writable to everyone. Or try to rename catalog to catalog_old and reinstall the extension.

  48. rob says:

    Hello

    I have installed this and seems to be working sort off. Backend seems ok and added an attribute called manufacturers to my products.

    Now i followed your instruction above to paste some code into view.phtml. if($_product->getData(‘manufacturer’) > 0) {
    echo $this->getChildHtml(‘attributes.manufacturer’);
    }
    when i did that and refreshed the product page on my shop it just shows that code and not the attribute etc so i guess is that code wrong??

    • rob says:

      Ok i got it to work so once you are viewing an individual product you can click the manufacturer logo and will take you to a page that shows all products belonging to that manufacturer. hooray.

      How can i have some options so on categories or the main page there is either a drop down or some options so that customers can shop by manufacturer earlier on instead of having to go to the product and even then they have to guess to click on the image to go to manufacturer page. I tried following your instructions but I just don’t understand. Where is shop by manufacturer?

      This will be agreat extension for me once I can get it to work.

      thanks

  49. [...] jonne pystyi lisäämään logon ja tarinaa yrityksestä.  Tämä laajennus  löytyy täältä.  Laajennus toimii yhteensopivasti myös 1.4.1.1. versiolta vasten ja sitä voidaan käyttää [...]

  50. Hups says:

    Hello

    Great extension so thanks,

    This is my first time using Magento so not that clued up yet.

    I see on your example pictures you have a favourite manufacturers in the left column. How do i go about getting that to display? I don’t quite understand what I need to do. I would like that to display on on the categorie and product pages if possible please.

Leave a Reply