Jump to content

get feature values


Recommended Posts

Hi there,

I try to get products and features useing following functions:

	public function initContent(){
	    'all_products' =>$this->getAllProducts(),

	public function getAllProducts(){
	$productObj = new Product();
    $products = $productObj -> getProducts($id_lang, 0, 0, 'id_product', 'DESC' );
	return $products;  
  public function getAllFeatures(){
    $all_features = FeatureCore::getFeatures($this->context->language->id);

	return $all_features;    

My issue is that $all_features just contains feature.names, but not values. I don't find a way to get the values as well. Any hints for me?

Thanks, Chris

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...