Skip to Content
0

how to push products items to add to cart using odata services in sapui5

Jan 31, 2017 at 01:14 PM

109

avatar image

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....

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

VIPLOVE KHUSHALANI Feb 01, 2017 at 12:34 PM
0

Hi ,

Check out this example of demo apps in Sapui5 SDK Demo kit

thanks

Viplove

Show 3 Share
10 |10000 characters needed characters left characters exceeded

I need in odata services is there any difference between local json and odata services...beacuse already i worked on same example in local json but i need in odata services.

0

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

0

Thank you sir..

0
Radek Chudziak Feb 02, 2017 at 08:54 AM
0

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you sir...

0