Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento Custom Options VS Attributes

Tags:

magento

What is the actual difference between Custom Options and Attributes? or are Custom Options actually Attributes that get created when you configure the Custom Option

like image 847
jon Avatar asked Feb 02 '11 02:02

jon


People also ask

What is custom option in Magento?

When you add custom options to a product in Magento 2, you give your customers the opportunity to choose product options as to their needs without relying on the product attributes. Customizable options allow you to categorize products, create cart price rules and dynamic categories rules.

What are custom attributes in Magento 2?

The Magento 2 Marketplace Custom Attribute module allows the admin to create a custom attribute from the admin panel and can select them to display/hide on the front end. The admin allowed attributes are visible to the vendors while adding the product.

What are Magento attributes?

Magento 2 uses attributes to manage the information associated with products. An attribute is a property of a product, for example, the product color, the size, or the description. Some attributes are built into the system by default, and others can be created to address specific needs.

What is a custom option?

a a practice which by long-established usage has come to have the force of law. b such practices collectively (esp. in the phrase custom and practice) 4 habitual patronage, esp. of a shop or business.


1 Answers

Magento Attribute:-
An attribute in Magento is defined as any property of a Catalog Category (Entity Type ID - 3), Catalog Product (Entity Type ID - 4), Customer (Entity Type ID - 1), Customer Address (Entity Type ID - 2), Order (Entity Type ID - 5), and some more. These include Product ID, Product Title, SKU, Image, Description, Customer First Name, Customer Last Name, and so on.

All the attributes are stored in the Database Table "eav_attribute", and all these attributes depend upon their Entity Types, which are stored in the DB Table "eav_entity_type".

A store owner can add as many additional attributes as desired. These can be grouped into attribute sets, so similar products can be created with the same attributes. If you sell TVs, shoes, books, and power tools you could create four attribute sets - one specific to TVs, one for shoes, one for books, and one for power tools. When adding new power tool Products to your Catalog, you simply select the “power tool” attribute set, and the appropriate fields are added for this Product. You can check this link to know how to Create Attributes in Magento.

Magento Custom Options:-
Only Catalog Products (and no other Entity Types) use the concept of Custom Options, which are stored in the DB Table "catalog_product_option".

Magento Custom Options enable the customers to add new options (non-stock specific) to the Magento product before adding it to the shopping cart. It allows to increase the product price or to gather extra information from the customer such as product length (custom option can be just a drop down of probable lengths provided by the store), a name to engrave (custom option can be a text field) or an image to print on it (custom option needs to be an upload file field).

Magento Custom options are similar to attributes but they must be filled in by a customer rather than an admin. But which all options can be filled by the customer, is totally dependent upon the admin, as he is maintaining the available Custom Options of the Products.

Hope it helps.

like image 82
Knowledge Craving Avatar answered Oct 12 '22 23:10

Knowledge Craving