Jump to content

prestashop hook actionObjectProductUpdateAfter product features are not updated yet


stifler97
 Share

Recommended Posts

Need:
I want to do a process after product update on product features.

Problem:
But the list that I get from these methods are not updated with new values:

$product->getFeatures();
$product->getFrontFeatures($id_lang);
Product::getFrontFeaturesStatic((int) $id_lang, $id_product);

It seems to get updated after this hook "actionObjectProductUpdateAfter".

Share this post


Link to post
Share on other sites

  • 4 weeks later...
On 5/23/2022 at 1:09 PM, Ress said:

You can take features values from the $_POST variable.

Hi. Thank you for your response.

Actually we used $_POST variable. And it was the easiest way to do so.

Thank you for your time @Ress

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More