Adapt test following last refactoring + remove console.log
- Switch to function expressions instead of function declarations
- Documentation of the API
[minor] Formatting
- Redirect to product with "see other" when creating a product
- Added the "on the shelf" boolean to toggle product exposition
- Some other minor refactorings