hook_feature_attributes($node)Provide added product attributes via a feature
Return additional attributes for a product based upon features that have been added to a product.
For more information see hook_attributes().
$node The node of the product that is to be checked.
Return an array of attributes which are to be enabled or disabled.
contrib-6/ecommerce/ec_product/ec_product.features.api.php, line 27
<?php
function hook_feature_attributes($node) {
return array('no_discount' => TRUE);
}
?>