Attribute Admin Page Pagination In Magento

January 20, 2014 Alex Simonchik Magento
Attribute Admin Page Pagination In Magento

Some of our clients with catalogues containing huge amounts of products experience certain issues coming with the sheer amount of stuff in the admin. For example one of our customer’s stores collected over 5000 options for the attribute Color over time. In addition, the store had about  20 store views. All this resulted in a great problem because the Options page was loading extremely slowly and it was almost impossible to save any changes.

attribute_pagiantion

So, as a possible solution we decided to create pagination for that page. This way, we could limit the number of options to output. For these purposes we had to override the method getOptiоnVаlues() in the block Mаge_Adminhtml_Blосk_Cаtаlоg_Prоduсt_Attribute_Edit_Tаb_Optiоns аdminhtml

and the template

adminhtml/catalog/product/attribute/options.phtml

in the module AttributePаginаtiоn.

As a result we have a page with pagination that allows to work with huge arrays of attribute options:

attribute_pagiantion1

So, anyone who has similar problems can download and use the attached module for free.



8 comments

  1. Hi,

    I can’t install your code in my test store. I tried uploading the file in magenta connect and it says:

    CONNECT ERROR: Package file is invalid
    Invalid package name, allowed: [a-zA-Z0-9_-] chars
    Invalid version, should be like: x.x.x
    Invalid stability
    Invalid date, should be YYYY-DD-MM
    Invalid channel URL
    Empty authors section
    Empty package contents section

    I then tried to extract the files and manually move them in place and I don’t see the changes in the admin.

    My magento version is 1.8.0.1.

    How can I properly install/setup this code?!

  2. wulfshade,

    You need to manually upload the module. But in case you not see the changes, then most probably something has been implemented incorrectly. If you want, we can do this for you, but you need to contact our support team at store@belvg.com

  3. Afternoon,

    This module looks perfect to solve this exact problem I’m having. Unfortunately the download link at the bottom of the article no longer works.

    Is the file available elsewhere?

    Thanks in advance!

  4. Hello!

    This should be exactly what I need.
    Could you please update the download link?

Post a new comment

top
BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *