• Bilal Malik

Available options while creating product attribute programmatically in Magento 2

These are the available options while creating product attribute programmatically in Magento 2. All of the attributes are self-explanatory so I’m not going to explain briefly. If you have any doubts on how to use, please feel free to ask in the comment section.

1) global 2) visible 3) searchable 4) filterable 5) comparable 6) visible_on_front 7) html_allowed_on_front 8) used_for_price_rules 9) filterable_in_search 10) used_in_product_listing 11) used_for_sort_by 12) apply_to 13) visible_in_advanced_search 14) position 15) wysiwyg_enabled 16) used_for_promo_rules 17) required_in_admin_store 18) used_in_grid 19) visible_in_grid 20) filterable_in_grid 21) search_weight 22) additional_data

Refer this file from your Magento installation for how to use this options vendor/magento/module-bundle/Setup/InstallData.php or app/code/Magento/Bundle/Setup/InstallData.php

#magento #options #magento2 #eav #product

0 views

©2020 by Bilal Usean. Proudly created with Wix.com