Planning & Creation of Features and Attribute Pieces in Magento 2 |
Posted: August 25, 2017 |
What's an attribute and attribute collection, and what are they for?In another of our earlier articles, we covered the process of product creation in Magento 2. Choosing the feature set is main steps along the way of creating something, so it would maximize sense to find out about attributes and attribute sets, and the way to create and configure them in Magento 2. Let's take a closer look. To be able to understand the concept of an attribute and an attribute set in place, let's use an example: a carrier. A carrier can be detailed by a sizable variety of characteristics such as: color, materials, weight, size, etc. Many of these characteristics come up with describe an attribute set (quite practically a couple of characteristics) and each of them individually is an attribute (or individual attribute) of the merchandise. Attributes generally help a few purposes: they could be used as search variables and criteria for split navigation (aka faceted filtration systems), they can play a part in product assessment reviews to help a person distinguish one from another, plus they can help identify products during times of marketing promotions.
By default, Magento has a set of system attributes (such as price, weight, size etc.) that you can use for your products, but if you need more properties to spell it out and filtering products in your catalog, you can create as much attributes as you need. Overall, this helps your customer hold the best experience possible when shopping in your store. Planning Traits and Feature SetsOnce the feature set for a particular product has been assigned, you won't be able to change it. The only path away: create the same product but with another feature set and remove the past (duplicated) product. That's why, it is so important to take into account what features and attribute packages you will want to assign your products ahead of time, before you start adding products.
To create the product "bag", you almost certainly will never have to create a particular attribute set merely to do so. You can find enough qualities in the Magento default feature set in place (color, price, country of make, information, gallery, price, sku, visibility, weight etc.) which should describe all the product attributes you'll need to properly list the product. But, in the event you do need a little something extra (something like materials, pattern etc.), it might be an improved idea to create a completely new feature collection that is more personalized to your specific product needs. While planning the attribute arranged for your product, you should also consider some other basic requirements:
Ways of adding characteristics in Magento 2Magento 2 permits you to add product qualities in two distinct ways. Let's take a closer look at our first option here: 1. Creating a custom attribute.Creating an attribute in Magento 2 consists of the following steps: 1. Go to Stores and select “Product” in the admin panel 2. Then select “Add New Attribute”
3. Choose some attribute properties: – Default Label: The label that identifies the attribute during data entry. For example, “Country of Manufacturer”, “Weight” etc. – Catalog Input Type for Store Owner: Determines the data type and input control that is used to manage the product from the store Admin. For example, text, multi-select etc. – Values Required: A required value needs to be entered in this field before the record can be saved. Set Values Required to “Yes.” (Options include Yes and No) 4. Choose advanced attribute properties if needed (Attribute Code, Scope, Default Value etc.) 5. Choose storefront properties 6. Save Attribute Now that we’ve created the necessary attributes that will be added to the attribute set, we just need to highlight the products that this will be applied to. We can do that next, in the following steps:
3. Transfer your newly created attribute from ‘Unassigned Attributes’ column to ‘Groups’ 4. Click ‘SAVE’ and you’re good to go. In addition to creating custom attributes for your more unique and specific products, we can also make attribute lists from pre-existing attributes (or characteristics). Let’s take a closer look at how we can do that. 2. Choosing from the list of existing Attributes.Note: The following steps are not completely functional at the time of publication of this article. We’re going to walk through the process anyway, as everything should go as planned in future releases. However, if you don’t want to wait for this feature to become functionally available, you can always reach out to one of our Magento developers and they’ll gladly assist you in fixing this feature. Attributes can be selected and modified while actively working on a product, and in the following example, we’ll see how to add any attribute to a product from the list of existing options. Step 1: Open the product in the admin panel Step 2: Click ‘Add Attribute’ Step 3: Choose an attribute from the list and select ‘Add Selected’ Step 4: Save the product Attribute SetsAs we already mentioned, choosing the attribute set is one of the very first steps when creating a product and can also be used as a template for the product record. If you sell products that require specific types of information, such as cameras, it might be better to create a dedicated Attribute set that includes the specific attributes that are needed to describe each product (camera, watch, shoe, etc). Steps for creating an Attribute set: 1. From the Admin sidebar, select Stores, then under Attributes, select Attribute Set. 2. Click ‘Add New Set’ and then do the following: a. Enter a Name for the Attribute set (the name is completely up to you, as this is the part where you’re customizing your own Attribute set) b. Set “Based On” to an existing Attribute set to be used as a template. c. Click Save. The next page will then display the following information:
To create a new attribute group:1. In the Groups column, select the attribute set and click Add New. 2. Enter a Name for the new group (again, completely up to you as this is fully customizable) and click OK. 3. Do either of the following:
The new group you’ve just created now becomes a section of attributes that can be applied to any product that fits the overall category of this Attribute Set. After just a few simple clicks, we’ve created a custom template for our store products that help increase visibility to our customers. As usual, if any of this information seems a bit too intense or complicated, don’t hesitate to reach out to our Magento developers, or one of your project managers for more help and/or clarification. We’re here to make things easier, so don’t settle for something that isn’t working 100% for you and your store. Home: https://www.magebay.com http://planning-creation-of-features-and-attribute-pieces-in-magento2
|
|||||||||||||||||||||||||||
|