문제

Magento 2.3.4

Weight does not show for any products in admin. The attribute exists and is part of the attribute set.

Database values seem to all be there for the attribute.

Can't understand why it doesn't show on admin.

도움이 되었습니까?

해결책

By default the weight attribute should be applicable to the product types below.

  • simple
  • virtual
  • bundle
  • configurable
  • downloadable
  • giftcard

If the attribute is not applicable for a specific product type the attribute won't show up.

In the catalog_eav_attribute table there is a column (apply_to) which determines to which product types the attribute can be applied. It's a comma separated string of product types, or NULL if the attribute is applicable to all product types.

Looking at the above list of product types the value for the weight attribute should be like this.

simple,virtual,bundle,configurable,downloadable,giftcard

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top