How to add custom attribute in magento Registration - magento

I am creating a sign up form for Magneto, I want to add few more information from customer like place of birth. How can I do this, I tried many ways but all are use less, please explain step by step.

you can go through this link Magento Module Creater
and create module with Need Add Customer Attribute : yes and it will give the field for your customer attribute. and create field as much as you.after creating field just click Create Magento Module (download) it will give you a ready module with your custom customer attribute. Note:- Selecte Forms to Use In in which your field will be populated for user input
Hope this will help you.

Related

Create magento product that links to an external website

I want to add a product that is not held on my magento website. It must only show on my website. But when a customer clicks on a product it directly goes to the website that holds the product.
I want to give the URL to the product on the site. I am not sure how to do this. Please help me. Thanks.
Here are some screen shots that show what I actually want to do:
product show on my website
Customer goes to other website
The way i would suggest you is to create an attribute called external_url, a textinput field. Assign it to required attribute sets then, while adding product if that particular product will be linked to external; input that field with external url.
And while populating product in listings, check if that external_url attribute value exists or not. (for eg on template/catalog/product/list.phtml check for this value $_product->getData('external_url'))
If the value exists then, change the product link(on product list.phtml change $_product->getProductUrl() with our $_product->getData('external_url'))

Add custom description to magento Attributes and display it on the front end

I have a site where I added some custom attributes and displayed in the frontend. Now I want add a description of the attributes and display it in the frontend in a tooltip or whatever.
I have checked this reference
Add custom property to magento Attributes and display it on the front end on stackoverflow. But its not clear in which particular page I have to use it. I don't want to use any plugin. Please refer me a solution with custom code.
When you Add a Custom Attribute to the products, it will stored in to the Magento system as EAV attribute. So you must look into the EAV structure. When you look into the table "eav_attribute" you can understand how the attributes are stored.
So, if you want to Add and manage the Tooltip Description for the Attributes, You must add one more column to the "eav_attribute" table. for this you must create a custom module to override the Magento core eav functionalities. By following the above link you can create the tooltip Description text for the attributes.

In magento admin how to create a custom field in add products page

In my Magento admin add products page, I need to create a custom input field as subtitle for the product name. While adding products in Magento, we already have fields such as Name, Description, Short Description and so on. Among this I need to create a new field as Title to get the simple name of products. How do I create this custom field in admin?
You have to create custom attribute for that .Follow this tutorial it may help you to create custom attribute. please have a look at a
http://www.magentocommerce.com/knowledge-base/entry/how-do-attributes-work-in-magento
and
http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-attributes-custom-fields
Find manage attributes, then add a new attribute. You can select its type. And then you can add this attribute to your attribute set. The attribute set which you are using, it may be default or any custom created. After adding you will find that attribute in your add Product page.

How to pass our parameters to add to cart page in magento

I am new in magento.My product has model type and model version.I want to pass model type and version to add to cart page and take that values in shoping cart page.But i don't get any idea .Any one please help to solve the problem.
You could:
Create custom option for 'model type' and 'model version' for each product. See Adding Custom Product Options in Magento
Create a custom module that add these options programmatically to additional_options See Add options to quote item

add attribute in product information -> Inventory tab

Hey, I just realise how easy is to add attributes to the form products in ADMIN, and its working perfectly.
So similarly to setting attributes for General, Prices, Meta Information, Images, Recurring Profiles, Design and More Information, how can I add an attribute to Inventory form?
Thanks in advance for any help.
Unfortunately, the Inventory form is not dynamic like others, and you can't just add an attribute to this form.
If you are good with Magento programming, than you can play with it's block:
app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Inventory.php
and with it's template:
app/design/adminhtml/default/default/template/catalog/product/tab/inventory.phtml
For me (in Magento v 1.3.2.4) creating attributes the usual way (Catalog>Attributes>Manage Attributes) didn’t work in this case, as the value for that attribute didn’t get saved. In order to be able to save it I had to create this attribute in database table ”cataloginventory_stock_item”.
Only then the value is saved for each product.

Resources