Tommix Posted February 18, 2015 Share Posted February 18, 2015 (edited) 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 February 18, 2015 by Tommix (see edit history) Link to comment Share on other sites More sharing options...
fred-vinapresta Posted February 18, 2015 Share Posted February 18, 2015 Hi, have you try to got it by using hookActionCarrierProcess? Link to comment Share on other sites More sharing options...
Tommix Posted February 18, 2015 Author Share Posted February 18, 2015 (edited) 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 February 18, 2015 by Tommix (see edit history) Link to comment Share on other sites More sharing options...
fred-vinapresta Posted February 18, 2015 Share Posted February 18, 2015 where are exactly these options the cutomers can choose? in the carriers list? can you join a screen capture Link to comment Share on other sites More sharing options...
Tommix Posted February 18, 2015 Author Share Posted February 18, 2015 (edited) where are exactly these options the cutomers can choose? in the carriers list? can you join a screen capture Yes they apear when customer selects my carrier by DisplayCarrierList hook. Edited February 18, 2015 by Tommix (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now