Magento. How to create a attribute and apply it to products

Source: Internet
Author: User

This tutorial are going to show what you are to create a attribute and apply it to products on your Magento website.

Magento. How to create a attribute and apply it to products

In Magento an attribute means any property of a product and you can add as many attributes as you need. They can be grouped to attribute sets, so similar products can is created with the same attributes. Let's say we want to the create an attribute called "Material".

  1. Log into the Magento admin panel. Go to Catalog, Attributes, Manage Attributes

    There you'll see all the attributes used in your system.

  2. In the top right, click on "Add New Attribute"

  3. In thePropertiestab you'll need to configure theAttribute Properties:

    • Attribute Identifier: The name of the Attribute used by the system. e.g. material.
    • scope: allows declare the attribute value saving Scope like Global (the value of this attribute For a given product must is the same for all websites and stores on this Magento installation), Store View (The V Alue of this attribute for a given product can differ in all Websites and any Store views), Website (the value of This attribute for a given product can differ in different Websites, however it cannot differ between Store views contain Ed under the same Website).
    • Catalog Input Type for Store Owner : describes what kind of data the attribute would store. For instance, if you want to manually enter the value of each product into a text field, select text field etc. We want to use Dropdown.
    • Unique Value: Select "Yes" if you want the data saved in this attribute to is Unique for each product. But we rather use "no", because different product types could be made of the same material.
    • Values Required: We are using the "yes", since all we have products is made of some material.
    • Input Validation for Store owner: decides whether the data entered by the Store owner was validated when the Produ  CT is saved. In our particular case, we don't need validation on this field, so we ' ll choose "None".
    • Apply to: determines-which Product Types this attribute would display. If you chose ' Select product Types ' in the Drop-down menu, you can set ' material ' to ' Apply to Grouped/smple/configurab ' Le etc product or just use ' all product Types.
  4. and the settings forFrontend Properties:

    • Use in quick/advanced search: If "Yes", the data saved in this attribute is searchable in the front-end in the quick Search and advanced search.
    • comparable on front-end: If "yes", this attribute is displayed in a product comparison, if as at least one product in the Compare List contain s a value for this attribute.
    • Use in layered Navigation (can is used only with catalog input type Dropdown, multiple Select and price). Since we selected "Dropdown", this option was active and we can select e.g. filterable (with results).
    • Position: determines the Position of this attribute in the Layered Nav menu.
    • Visible on the Catalog Pages on front-end: If "No", this attribute won't is displayed in the Product info page. The "visibility" only controls whether or not, the attribute displays in the front-end. Keep in Mind–if you set a attribute to "Visible:no", and leave it as "Comparable:yes", this attribute would still show Up in comparison charts.
  5. Click on the Manage label/options  tab. Under this tab, you can name the attribute in the front-end by the attribute label. you can enter different labels fo R different.  If A store ' s label is blank, this store would look to The default< /span> label and Use this one.  here we'll enter "Material" under "Admin" and under "中文版". Then, under The manage Options (values of your attribute)   We LL Enter Lycra, nylon, polyester, satin, lace, silk and sheer fabric. Click add Option   Each time we need a new line of fields for the attrib Ute values. In The position   row You can enter on the ENTER to Position them.

  6. When your is ready, click Save Attribute in the top right corner.
  7. To apply the selectable attribute to a product, the first add it to a attribute set. Go back to the Catalog tab and select Manage Attribute sets.

  8. There you'll see all the attribute sets created in your system. Click Add New Set.
  9. Give your new attribute set a name by entering the name filed. e.g. material. Let it is Based on, Default. Click Save Attribute Set.

  10. On the next page you'll see the attribute set you ' ve just created in the third column labeled Unassigned Attributes . You'll drag and drop it to one of the groups in the second column. For instance.

  11. Click Save Attribute Set in the top right.
  12. Now you can create new product under Catalog, Manage products, Add product and in the Attribu  Te set Drop-down Select the attribute set you ' ve created. Then click Continue.

  13. Now you can proceed and create a new product based in the new product attribute group you created ("material"). Since you has added the new attribute to the General section, and you'll find it there in there under the Gene  RAL tab in the same order it is added. Once your new product is created, you can open it in the frontend to see the new attribute that has added among its detail S.

Feel free to check the detailed video tutorial below:

Magento. How to create a attribute and apply it to products

Magento.  How to create a attribute and apply itto products, 5.0 out of 51 based on 4 Ratings


Source:http://www.templatemonster.com/help/magento-how-to-create-an-attribute-and-apply-it-to-products.html


Magento. How to create a attribute and apply it to products

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.