strapi-examples icon indicating copy to clipboard operation
strapi-examples copied to clipboard

frontend shouldn't decide of the order price

Open ggirodda opened this issue 3 years ago • 1 comments

Node.js version:

npm version:

Strapi version:

Operating system:

Which example is causing problem? nuxt-strapi-deliveroo-clone-tutorial Do you want to request a feature or report a bug? report a bad implementation What is the current behavior? the frontend push the final price directly in db If the current behavior is a bug, please provide the steps to reproduce the problem

What is the expected behavior? the frontend should only push items, the price has to be computed or at least verified on backend

ggirodda avatar Jul 28 '20 09:07 ggirodda

As for me, it's meant to be a tutorial, not a final solution. So that obviously requires some work (and maybe reworking) from the developer's side

eriskhan avatar Aug 06 '21 01:08 eriskhan