Job description
The order is to write a plugin for PrestaShop, which will be a quiz for the customer, which after answering a few questions will display product recommendations from the store. We are interested in preparing the plugin mainly in terms of the backend. Ostyling it on the frontend can remain on our side.
We have the quiz laid out according to the following assumptions:
- When the quiz is started, an array of variables is created. The variables are to be twice as many as the products on offer. Each process is to have one numeric variable for counting points, and another of bool type, for marking disqualified products, which cannot appear in the results.
- The quiz consists of 6 questions, 2 of which are multiple choice.
- According to our assumptions, there should be a listener on each answer button (in each question, not just the last one), which, when the answer is clicked (or un-clicked), will make the appropriate changes to the variables we created at the beginning.
- The quiz algorithm is not supposed to be a decision tree, because with the number of answers we have in the quiz, the tree would be too elaborate.
... and much more to be discussed with the selected person