on 01-31-2017 1:14 PM
I have doubt on add to cart in shopping cart using sapui5 i dont know how to push product items to cart in odata services....
If you are using WEB IDE you can do File -> New -> Project From Sample Apllication -> Shop. It is a sample FIORI app for shopping which has a shopping cart as an odata model. I didn't investigate in full but they have a ShoppingCart and ShoppingCartItem entity and are using function imports to add the product to the shopping cart.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kallesh KS ,
It will be same just where ever in the example you are calling local json you need to call odata services.
And the Json output of odata service needs to be same as that of local json ..
thanks
Viplove
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.