docs icon indicating copy to clipboard operation
docs copied to clipboard

add `hookActionValidateOrder` concrete use case example

Open PululuK opened this issue 1 year ago • 1 comments

Questions Answers
Branch? 8.x
Description? add hookActionValidateOrder concrete use case example
Fixed ticket? Fixes #1539

PululuK avatar Oct 10 '22 22:10 PululuK

Hello @PululuK

My opinion is that having examples on this page is too much. We could think of a more advanced module showing the implementation of many hooks, to which we could later link.

It is probably something that @thomasnares and @eternoendless should decide on.

I agree that having more real-life examples could be beneficial for developers. I was thinking of some recepies somewhere in the docs. Another option is to continue working on the example-modules repository.

kpodemski avatar Oct 12 '22 09:10 kpodemski

Hi @PululuK

As you know, @thomasnares improved documentation to have such examples on separate pages. This is yours: https://devdocs.prestashop-project.org/8/modules/sample-modules/example-hooks/actionvalidateorder/

I hope this can unblock your challenge 😎

kpodemski avatar Nov 04 '22 13:11 kpodemski

Thanks @kpodemski @thomasnares !!!

PululuK avatar Nov 04 '22 14:11 PululuK