Jump to content

Issue with hookProductActions


yourzed

Recommended Posts

Hi everyone,

 

I made a module that, on the hook productActions, updates the stock of the product connecting throught a webservice with the shop software.

The problem is that the "action" takes place after the page is loaded. So, when the user enters the page for the first time, he don't see stock, if he refresh or enter another time, the product has the stock of the software.

 

Any ideas? Maybe the hook I'm using is not the correct one.

 

I'm using prestashop 1.6.1

 

Thanks in advance!

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...