Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\Product::_addSpecialAttributes PHP Méthode

_addSpecialAttributes() protected méthode

protected _addSpecialAttributes ( array &$attributes )
$attributes array
    protected function _addSpecialAttributes(array &$attributes)
    {
        parent::_addSpecialAttributes($attributes);
        $attributes['stock.is_in_stock'] = __('Only in stock products');
        $attributes['price.is_discount'] = __('Only discounted products');
        $attributes['has_image'] = __('Only products with image');
    }