Jump to content

Ottenere id dello stato ordine


nick03

Recommended Posts

Ho il modulo della postepay ma vorrei che mi settasse lo stato dell'ordine su uno che ho creato io.

Quindi nel verification.php vorrei che mi cercasse nel DB nella tabella degli stati degli ordini lo stato che ha per esempio il testo "Pagamento postepay".

 

Come si fa a eseguire una query con select in prestashop?

 

e nel caso non la trovasse... come faccio a fare una query insert che mi crei lo stato sopracitato?

 

Ho guardato nella documentazione, ma non parlano delle SELECT...

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