0

i m beginner to magento (developping extention) and i wanna add two fields under Tax Class :

enter image description here

________

how can i do this ?

note: i've searched for while and tried with no result

1
  • Souf, Are you want to add new attribute or another options in tax class Commented Mar 17, 2014 at 14:21

1 Answer 1

0

You can easily add the custom Product Attributes By go to the following location

Catalog->Attributes-> Manage Attributes.

Please Refer the Following Link for detailed steps to create the Product Attributes.

http://michaelarney.blogspot.in/2010/12/add-attribute-to-product-in-magento.html

Sign up to request clarification or add additional context in comments.

5 Comments

i know how to add it this way i saw that button up "Create new Attribute" i did created it it worked but what i want is to do that by code !
for that you need to create the setup script. Please refer the following link. stackoverflow.com/questions/12928298/…
ok i followed the tuto that he followed and it worked same code i didn't change now i need to add attributes to an existing group not special attributes
you want to add the attribute to the existing attribute set?
ok thats cool i did it like this : $setup->addAttribute('catalog_product', 'min_price', array( 'group' => 'Prices', ....etc));

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.