Adding a custom option using an extension in Magento

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2012-03-25T17:25:36Z Indexed on 2012/03/25 17:29 UTC
Read the original article Hit count: 255

Filed under:
|
|

I'm creating a custom extension and I would like to add a custom option when a certain item is purchased.

For example, when the product "Name Tag" is purchased, the extension would detect that the specific product has been ordered and assign a custom option of "Year" to it. The user does not see this, but the attribute is added and displayed in the admin when viewing the order.

Are there any specific listeners our there to accomplish this?

© Stack Overflow or respective owner

Related posts about magento

Related posts about extension