Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 01, 2017 at 12:34 PM

    Hi ,

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

    thanks

    Viplove

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 02, 2017 at 08:54 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded