Jump to content

Capture values from fields added in DisplayCarrierList hook


Tommix

Recommended Posts

Hello, im creating carrier module. This carrier has option which customer has to select. I found that DisplayCarrierList hook is what i was needed. BUT how can i get selected value? which hook returns them to me? i added simple Select with 70 options, customer have to choose one. I see that my Select is in Form so value should be sent somewhere. 

 

Is there possibility to get them via some hook? displayOrderConfirmation doesnt help - never gets executed in my hookdisplayOrderConfirmation function.

 

PS i really do not want to use JS for this.

 

Presta shop 1.6.11

Edited by Tommix (see edit history)
Link to comment
Share on other sites

Hi, have you try to got it by using hookActionCarrierProcess?

 

Hmm somwhow i never saw this hook. Thanks will try now :)

 

EDIT: didnt help. Does not return my test input field's value. Also this hook is fired too early, payment confirmation page is still shown but hook is fired. Looks too early. But would be good too if only return values.

Edited by Tommix (see edit history)
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...