Adding Magento attributes and attribute-sets programmatically - magento

Adding attributes to Magento via code is very obscure. Are there any examples?

I believe you can find the answer to your questions in this code example:
http://www.magentocommerce.com/wiki/5_-_modules_and_development/catalog/programmatically_adding_attributes_and_attribute_sets

Related

How to make custom options for any product in magento

One of my client want to have this kind of custom attributes in magneto, i tried making attributes and all, but can't get succeed, can anyone here guide me on making these ? do i have make attribute sets or attributes or i have to code custom ?
magento
In default Magento you can have some thing like pic attached.. please view if this solve your problem ?

Magento add extra fields to /customer/account/create/ page

I'm making great progress learning magento. My questions is, how do I add extra fields to the /customer/account/create/ page? The fields I want to add are below. Can the fields I add also appear under:
1) Frontend: Customer is able to edit/change the added fields answers in their accounts area
2) Backend: Administrator is able to see and manage the added fields under customers/manage customers/ selected customer/ customer information.
Any help or pointers is immensely appreciated.
11 OF 11
About You
WHAT IS YOUR AGE?
18-23 24-29 30-35 36-45 46-55 66+
WHAT IS YOUR HEIGHT?
WHAT IS YOUR WEIGHT?
WHAT IS YOUR ZIPCODE?
HOW DID YOU HEAR ABOUT US?
Magazine Online Ad TV Newspaper Friend
Here is a good but old tutorial how to add custom fields in registration page
http://www.fontis.com.au/blog/magento/custom-customer-signup-attributes
It was done for Magento 1.3 so you need to read comments below the article to make it works on Magento 1.7 or check out this answer on SO Can no longer add registration fields in Magento 1.4.2.0
Also there are few extensions on Magento connect for that purpose.
Thanks for all your input. I came across this extension and it worked REALLY GREAT for me!
http://www.magentocommerce.com/magento-connect/custom-customer-registration-fields.html

Magento wsdl. Looking for a guide

Well I am new in Magento Api theme, so I don't know how to create wsdl for api2. Any good guide will be appriciated.
Added:
What I need is:
How to write wsdl.xml in magento?
How magento will understand that if I type v2_soap? wsdl array then it should take mine version of wsdl.xml for my module?
I was looking for the same thing
I found the answer here: http://www.magentocommerce.com/wiki/5_-_modules_and_development/web_services/overriding_an_existing_api_class_with_additional_functionality#wsdl
balexander: Your answer is really hostile!
Finally I found ca I was looking for:
click
Update
From comments below :
I'v managed to create v2 service, but it was more copying from catalog's wsdl.xml. But finally I'v managed to do what I asked ;)

Creating a configurable Magento attribute from scratch

I need to extend Magento to allow changing the price of a product based on an attribute, such as size or color. I can't use any in-built facilities Magento might have for this - I need to write the code myself. I'm a beginning Magento developer. Can anybody help? Maybe point me to a guide or walk-through for this on the internet? Thanks!
You may wish to read some of the basic guides on Magento to answer a question like this. This is entirely the point of configurable products and of custom product options.
Hope that helps
Thanks,
Joe

Linking simple products to configurable product via SOAP API V2

Does anyone know how to link a configurable product to a simple product via the API?
I don't think the Product Link API does this:
http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product_link#catalog_product_link.assign
Seems others are having the same issue.. just trying to see if anyone here has a solution:
http://www.magentocommerce.com/boards/viewthread/75803/
I haven't seen any solution outside of custom code to save the objects. There are community modules to accomplish this, as I recall.

Resources