We want to add our own surcharges / discounts inside the cart hook loaded from our own custom entity database table
For our app in the cart hook we need the repository service and the possibility to call our own store api routes also provided by our app.
The reason is that we have stored our surcharges / discounts in our own custom entites database table and we can't access it in the cart.
The store api route call we need, because we want to build our own store api route to make it possible to cash the database call for a better performance.
3
votes
Christoph Pötz
shared this idea