• No results found

1.

Select Catalog > Attributes > Manage Attributes. A list of existing attributes is displayed, as shown in Figure 85.

Manage Attributes Page Figure 85.

2.

Click Add New Attribute to display the New Product Attribute page (Figure 86) in which you can define a new attribute.

Setting Up Your Catalog

94

New Product Attribute Page Figure 86.

3.

In the Attribute Code field, specify a unique identifier for this attribute. Do not use spaces. The code does not appear on the frontend.

4.

In the Scope field select the scope to which this attribute applies.

5.

The Catalog Input Type for Store Owner setting controls how a store administrator specifies values for attributes. For descriptive textual attributes, you can use the Text Field or Text Area types; for list prices you use the Price type. Note that not all types can be used for layered navigation.

6.

If this attribute has a default value, specify it in the Default Value field.

7.

If the value of the attribute must be unique for each product (for example, a SKU number), select Yes for Unique Value.

8.

If the value of the attribute cannot be blank for any product, select Yes for Values Required.

Setting Up Your Catalog

9.

In the Input Validation for Store Owner field, select the type of validation that

should be enforced on values of this attribute. For example, if the values of this attribute will be email addresses, select Email to cause the system to check each entered value of this attribute against the rules for valid email addresses.

10.

If this attribute will apply only to certain Magento CE product types, select Selected Product Types for Apply To. In the list that appears, select one or more product types for this attribute (use Ctrl+click to select multiple items).

11.

For Use in Quick Search and Use in Advanced Search, select Yes to enable the quick search and advanced search tools to search this attribute’s values.

12.

For Comparable on Front-end, select Yes to have this attribute appear in the

compare window when products are compared.

13.

The Use in Layered Navigation field defines whether the attribute is used in layered navigation. The following options are available:

 Filterable (with results): Only those attribute values that correspond to the

existing products in your frontend catalog will be used in the layered navigation.

 Filterable (no results): All values of the attribute that you have created on the

Manage Label / Options tab will be listed.

 No: Not used in layered navigation.

Note that only attributes with the Dropdown, Multiple Select, or Price input type can be used in layered navigation.

14.

The Use for Promo Rule Conditions, field defines whether the attribute can be used in defining conditions for catalog and shopping cart price rules.

15.

The Position parameter determines the position of the attribute in the layered navigation block with respect to other filterable attributes.

16.

In the Visible on Product View Pages on Frontend field, select Yes to specify that this attribute appears in the Additional Information part of a product’s page in the web store, as shown in Figure 87.

Attributes on the Additional Information Panel Figure 87.

17.

For Allow HTML Tags on Frontend, select Yes to enable HTML tags that are specified in this attribute’s values to be honored on the frontend.

Setting Up Your Catalog

96

19.

For Used for Sorting in Product Listing, select Yes to enable the product list to be sorted by values of this attribute.

20.

Click Manage Label/Options at the top left of the page to display the Manage Label/Options page, as shown in Figure 88.

Manage Label/Options Page Figure 88.

21.

In the Mange Titles box, specify a display name for this attribute for each store view. If you specify a value only in the Admin field, that value will be used in all cases.

22.

For attributes with an input type of Dropdown or Multiple Select, you can enter

values that can be specified for the attribute. To add a value, click the Add Options button. You can specify a different label for the value for each store view and set the default value by selecting the Is Default option button. For the Dropdown input type, you can select the Is Default option button only for one attribute value. For the Multiple Select input type, you can select multiple values by selecting the Is Default check box next to the desired attribute values.

Attribute Value Specifications Figure 89.

23.

Click Save Attribute.

6.5

Creating Attribute Sets

An attribute set is a collection of attributes, customized to fit certain types of products. All attribute sets must contain all of Magento’s system attributes, but you can customize them to include different combinations of simple attributes. Only attribute sets (not individual attributes) can be assigned to a product. If you want to add a small number of attributes, you can add them to the Default set, but if you want to add attributes that will be applied only to a subset of products, it is advisable to create an attribute set for each set of attributes that you want to assign to products. An attribute set can inherit attributes from another attribute set. This feature saves you from redefining sets of attributes that apply to many different products.

Setting Up Your Catalog

To create a new attribute set:

1.

In the Admin Panel, select Catalog > Attributes > Manage Attribute Sets. A list of existing attribute sets is displayed, as shown in Figure 90.

Manage Attribute Sets Page Figure 90.

Note: Figure 90 shows the attribute sets that are provided in Magento’s Sample Data.

Note: The Default attribute set is composed mostly of system attributes. This attribute set is typically inherited by all other attribute sets.

2.

Click the Add New Set button to display the Add New Attribute Set page (Figure 91).

Add New Attribute Set Page Figure 91.

3.

In the Name field, specify the name of this attribute set. This name is used only in the backend.

4.

In the Based On field, select another attribute set from which this attribute set is to inherit. This enables you to reuse the attributes that are already defined in a set to build other attribute sets. The simple option is to leave the Default option that appears in this field.

Setting Up Your Catalog

98

Edit Attribute Set Figure 92.

Note: System attributes are indicated by an icon with an orange dot.

The top left of the page shows the name of the attribute set that you are defining. The center of the page shows a hierarchical tree representing groups of attributes. An attribute group is a logical grouping of attributes within an attribute set. See

Related documents