37

I'm wondering if anyone has found or written an extension that would allow a magento website administrator the ability to add values to their products attribute while adding the product. For example, if I sell books and want the book author to be in a drop down list so that it would be used in layered navigation, it seems odd that I would have to add the author via the attributes section before adding the product. From a workflow standpoint it really makes sense to have an "add new value" button next to the drop down on my add product screen.

Anyone have any thoughts or insight?

Jonathan Day
  • 18,519
  • 10
  • 84
  • 137
Jeremy
  • 1,908
  • 3
  • 25
  • 38
  • Nice idea, I'd be interested in the extension if it exists. It should be feasible technically – Jonathan Day Oct 27 '10 at 10:46
  • Johnathan, it could be done with a custom input renderer but that requires specifying in advance which attributes are to be modifiable. – clockworkgeek Oct 27 '10 at 23:14
  • I like the idea. The biggest problem would be that it would involve a good amount of code structuring for something that most would mark as a "nice to have" feature rather than a necessity. Thus, why it probably hasn't been developed yet (to the best of my knowledge). – Nathaniel Wendt Aug 17 '11 at 22:58
  • start a bounty $500 and i'll spend needed hours for dev and testing for such extension – Anton S Sep 05 '11 at 13:51

5 Answers5

4

It's a piece of cake to do, if you know jquery and the (if I may guess) extremely simple model behind magento.

As the other guy said, throw some money and I'll do it ;)

Otherwise, real easy -> find where that dropdown is generated, add a button next to it that opens a popup which you fill "create a new thingie" stuff, create button -> +create +close +refresh your dropdown.

Definitely easy.

And considering the attribute dialog already exists in the tool you cold probably take most from there and just add the popup handlers / button / +refresh .

Morg.
  • 697
  • 5
  • 7
2

My curiosity finally took over my laziness and I managed to create the module author requested. It's available on github.

Please feel free to check it out and update it if you wish. Maybe in some near future I'll post it on Magento Connect, if feedback is good.

Slayer Birden
  • 3,664
  • 2
  • 22
  • 29
2

Can't say I have, but I've developed something similar that creates an attribute and adds it to multiple products, it's completely possible, you just need to add something that will call the add attribute on the add product page or change the new product flow to allow a new attribute and add it if needed. Don't let them scare you, it's not as hard as some people might describe :)

Roy Toledo
  • 643
  • 4
  • 20
2

This extension can Import/Export products and customers from/to CSV file. Create categories, add attribute options, import images and media galleries, reindex, refresh cache, media and price rules automatically. In addition you can backup the entire database in SQL format.

So from above, once you make the csv file, you just have to add the Author header and it would build the list from there. However, the attribute must exist first. I am using this method for the creation of my own manufacturer attribute options.

AMartinez_CustomImportExport

Vern Burton
  • 3,215
  • 1
  • 18
  • 31
1

Here's some code that checks if an attribute value exists and adds it if it doesn't: http://www.magentocommerce.com/boards/viewthread/26234/

Shouldn't be too hard to integrate it with the "Add product" form.

Marie Fischer
  • 811
  • 5
  • 5