on ‎2020 Mar 20 8:56 AM
Request clarification before answering.
Perfect.
I will read the content of the link that you have given me and I will prove what you have told me.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi dolangt12,
I would suggest doing this "sales item adding and updating" in the backend. NOT in the ui. When you add items in the ui, these items are not added to the receipt entity in the backend.
Look at my blog series, it should be a good start on how to develop plugins for cco:
https://blogs.sap.com/2018/10/16/sap-customer-checkout-plugin-development-part-i/
hth
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi dolangt12,
don't update the quantity only on UI because all the calculation (taxes, discounts, ... ) are happening in the backend of cco.
Even if you find a way to make this work, the state of the receipt in the UI will drift apart from the state of the receipt in cco backend.
Why do you want to update the quantity? You can send events through the eventbus back to a cco plugin where you can safely manipulate the receipt and trigger the refresh in the UI.
Regards
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have to read an array of products and update the list automatically. The add part works fine, but only add 1 product of each. Is doing it this way wrong? I am new to creating plugins and I still have to learn a lot.


| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.