Property | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Attribute Code | It is required field. It is used to identify attribute uniquely. It must begin with a letter. It can be a combination of lowercase letters (a-z) and numbers (0-9). It cannot include any special characters or spaces. It allows underscore (_) . It must be less than thirty characters in length. |
||||||||||||||||||
Scope | You can limit the use of an attribute to a specific store view or website, or view. The value of the scope can be: 1) Store View 2) Website 3) Global |
||||||||||||||||||
Catalog Input Type for Store Owner | It specify the data type and input control that is used to manage the product from the store Admin.Values can be:
|
||||||||||||||||||
Default Value | You can set the default value of the attribute which is helpful during data entry. You can not set default value for Multiple Select, Dropdown, or Fixed Product Tax input types. |
||||||||||||||||||
Unique Value | You can prevent duplicate values in a data entry field, set Unique Value to 'Yes'.” It includes following options: Yes / No |
||||||||||||||||||
Values Required | To make the field required,set Values Required to “Yes.” It includes following options: Yes / No |
||||||||||||||||||
Input Validation for Store Owner | You can set following validations for the data entered in the field:
|
||||||||||||||||||
Apply To | It is a required field. IT specify the product types to which this attribute will be applied. You can select any option from following:
|
||||||||||||||||||
Use to Create Configurable Product | This property appears only when the Dropdown input type is selected. You can select 'Yes' if this attribute will be used to create a drop-down list for a configurable product. It includes following Options include: Yes / No |
Monday, April 21, 2014
Attribute Properties
System/Default Catalog Attributes
In magento,Product attributes & Attribute sets are important concepts to understand.
In simple words, an attribute represents a characteristic of a product. An attribute give you the facility to add new product properties without having to write a single line code or to add a new column in your database.The data entry fields that is completed when adding a new product to the catalog are attributes. Attributes provide product information and are used as search criteria and to present a selection of options.
Assigning attributes to the products enables your customer and search engines to find them easily.
Attribute also decides what product should be displayed when a customer search for a keyword.
For example, if the product is a shirt then Fabric,Sleeves,Neck,Fit,Style,size and color will be its properties means its attributes.
Another example is, if the product is shape then Sole Material,Heel shape,Heel height,Color,SIZE,Upper Material,Inner Lining,Ankle Height can be its attributes.
System Attributes:
First,we will see meaning of system attributes which are required by store to function properly. Later on we will see its properties.
All these are system attributes. Now, We will see what are the attribute set and attribute Group in next post and how to create them.
In simple words, an attribute represents a characteristic of a product. An attribute give you the facility to add new product properties without having to write a single line code or to add a new column in your database.The data entry fields that is completed when adding a new product to the catalog are attributes. Attributes provide product information and are used as search criteria and to present a selection of options.
Assigning attributes to the products enables your customer and search engines to find them easily.
Attribute also decides what product should be displayed when a customer search for a keyword.
For example, if the product is a shirt then Fabric,Sleeves,Neck,Fit,Style,size and color will be its properties means its attributes.
Another example is, if the product is shape then Sole Material,Heel shape,Heel height,Color,SIZE,Upper Material,Inner Lining,Ankle Height can be its attributes.
Attribute sets:
Now, It is very obvious that I don't want to use shoes attributes for shirt. This is where the attribute sets come in. An attribute set is a combination of various attributes, setting all the fields we will need for a certain type of product. When creating a product, I will select the attributeset it belongs to. By doing so, all the desired fields will be available for particular type.System Attributes:
First,we will see meaning of system attributes which are required by store to function properly. Later on we will see its properties.
General Attributes
Attribute Code | Description | Data Type | Required |
name | It is the name of the product which is used by customer to identify the product and it is display on product description page and wherever the product is listed. | Text | Yes |
description | It is the description of the product which gives more details of product to the customer. | String | Yes |
short_description | It is brief description of the product. The use of this attribute varies by theme. | Text | Yes |
sku | SKU stands for Stock-Keeping Unit which is unique product identification number that is used to track inventory items. | Alphanumeric (AZ, 0-9) | Yes |
news_from_date | From this date,product will be considered as new and will be featured in new product listings. | Date/Time | No |
news_to_date | Till this date,product will be considered as new and will be featured in new product listings. | Date/Time | No |
status | It decides whether the product is available for sale or not.if it is not available then it will not listed in catalog. Its value can be: enabled (1) disabled (2) |
Binary (1, 2) | Yes |
url_key | It is part of the URL that identifies the product. | Text | No |
visibility | It specifies whether this product is visible from the catalog, search, both, or neither. It has following values: 0 (Not Visible Individually) 1 (Catalog) 2 (Search) 3 (Catalog, Search) |
Text | No |
gift_message_available | It specifies if a message can be included with this product purchase. Its values can be: Yes No Use Config |
Text | No |
is_imported | It specifies if the product can be included in product RSS feeds. It's values can be: 0 (Yes) 1 (No) |
Yes/No (0,1) | No |
Image Attribute
image | It is URL address of the base image, or the main image of the product that is displayed when customer clicks the product image. | URL | No |
thumbnail | It is URL address of the thumbnail image used in product listings. | URL | No |
small_image | It is URL address of the small image used in product listings. | URL | No |
Design Attributes
custom_design | It is used to specify a custom theme for the product detail page. | Yes/No (0,1) | No |
custom_design_from | It is date to begin using the custom theme for the product detail page. | Date/Time | No |
custom_design_to | It is date to stop using the custom theme for the product detail page. | Date/Time | No |
custom_layout_update | Using this you can apply custom XML to modify the product detail page layout. | XML | No |
page_layout | It decides the column layout of the product detail page. following are the options included: No layout updates Empty 1 column 2 columns with left bar 2 columns with right bar 3 columns |
Text | No |
options_container | It decides the type of container used to display product options. Following are the options included: Product Info Column Block After Info Column |
Text | No |
Gift Card Attributes
allow_open_amount | It decides whether the dollar value of the gift card can be specified by the customer. | Text | Yes |
open_amount_main | It is the minimum amount if the gift card allows open amounts. | Numeric | No |
open_amount_max | It is maximum gift card amount if the gift card allows open amounts. | Numeric | No |
Pre loaded Attributes
color | It specify the color of the product. | Text | No |
cost | It is the cost of the product which generally used for internal purposes only. | Numeric | No |
manufacturer | It is the name of the manufacturer of the product | Text | No |
All these are system attributes. Now, We will see what are the attribute set and attribute Group in next post and how to create them.
Subscribe to:
Posts (Atom)
Fatal error: Class Zend\Stdlib\Parameters contains 1 abstract method... magento 2
Fatal error: Class Zend\Stdlib\Parameters contains 1 abstract method and must therefore be declared abstract or implement the remaining met...
-
Fatal error: Class Zend\Stdlib\Parameters contains 1 abstract method and must therefore be declared abstract or implement the remaining met...
-
The Frontend Properties is used to specify how an attribute can be used in your store. Properties Description Use In Quick Sear...