Logic of adding product to a cart was implemented on backend