Let's say there is such a layout. I cannot understand what a person will do when he needs to add / delete goods. From the front-end side, do I have to write some kind of functional or is it all back-end? How does this happen in life?

score

    2 answers 2

    The user will click on the goods, select their quantity, etc. Accordingly, before sending a request to the server, all these manipulations need to be somehow processed on the browser side. Those. it's all front-end.

    Usually it happens like this:

    As the user adds purchases to the basket, information about his selection is added to the cookie. And when he completes the selection and proceeds to the design of the goods, information about all his choices is pulled out of the cookie, and sent to the server.

    Well, or if it is a registered user, then it is possible without a cookie, immediately as you add goods to the basket, to record its choices on the server.

    But in any case, there should be a client part that will provide all the interface mechanics and send requests to the server.

      1. Adding / removing goods in the online store is the front-end and this functionality really needs to be written
      2. This functionality is service and therefore it is usually implemented in any admin panel where the adjacent / similar functionality is located - import / export all or by filter of commodity items in 1C, Yandex.Market, csv, etc.