「製品リストで使用」が YES にチェックされている属性を知りたいのですが、$attribute->getIsVisibleOnFront() のような関数が見つかりません。
実際、属性の「フロントエンド プロパティ」からオプション値を取得する方法がわかりません (クイック検索で使用、高度な検索で使用、...)
私のコードは次のようなものです:
<?php $attributes = $_product->getAttributes();
foreach ($attributes as $attribute) {
if ($attribute->getIsUsedInProductListing()) {
echo $attribute->getStoreLabel();
}
}
?>
getIsUsedInProductListing() は存在しません ;-)
ありがとう...