How I can get attribute values for some attribute that are used at least in one product?
If 'height' is a product attribute. We can use the below code to get the product height.
$product->getHeight();
If 'weight' is a product attribute. We can use the below code to get the product weight.
$product->getWeight();