My Magento 2 store has a couple of different types of products (E.G Simple, Configurable, Grouped, Bundle, Custom, etc). For most of them, all the attributes show up correctly.
However only for Custom Products (new product type), 2 important attributes that we require (Tax Class and Restricted Countries) are not appearing when i create new products.
Custom Products is a type of product that is created by a plug-in i am running (Custom Product Builder). The Restricted Countries attribute is a non-standard attribute that was also customised for my store. Tax Class is the default tax from Magento 2.
These attributes are already specified to an Attribute Set that is used by Custom Products.
i have tried going into the SQL database and change the catalog_eav_attribute table for the Tax Class column apply_to to null as suggested in other solutions online. However, Tax Class still does not show up.
Tax Class:
Regular Simple Product:
https://prnt.sc/1wk8eqj
Custom Product:
https://prnt.sc/1wk8hfv
Restricted Countries:
Regular Simple Product:
https://prnt.sc/1wk8bt6
Custom Product:
https://prnt.sc/1wk89ms
Any ideas why this happens, and how can i fix this issue to have these 2 attributes appear?
Please check whether those attributes are assigned in the attribute set which you are using in the Product.
You can check this up from :
Stores -> Attributes -> Attribute Sets
Here
Check for the unassigned attributes add them in the attribute set which you assigned in the product and then save after that run the commands :
php bin/magento indexer:reindex php bin/magento cache:flush
Problem solved? Click Kudos and "Accept as Solution".