Dynamic attributes for the product search model
Pre-release
Pre-release
Sample
In ProductController:
$searchModel = Yii::createObject([
'class' => robote13\catalog\forms\ProductSearch,
'productKind' => 'truck'
]);Where 'productKind' this is robote13\catalog\models\ProductType::$table (table name for dynamic attributes of Product without prefix, it`s same that an alias for the product category)