up vote1down votefavorite
I am using hookActionProductUpdate I am getting all data updated but not attribtues, This is the code inside hook function public function hookActionProductUpdate($params) { $prestaObject = new ProductCore($params['id_product'], false, Context::getContext()->language->id); $arrrs = $prestaObject->getFrontFeatures(1); } Everything else is updated but the front features I am getting are the older one. Any IDEA?
I am trying in prestashop 1.6
Hello
I tried this too here is my new function public function hookActionProductUpdate($params) { $product = $params['product']; $arrrs = $product->getFrontFeatures(1); pr($arrrs);die("No updating :("); }
here is stackoverflow link http://stackoverflow.com/questions/35317819/prestashop-product-update-hook-is-not-updating-product-attributes-in-the-hook-fu