web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do I use SharePoin...
Power Apps
Unanswered

How do I use SharePoint to save cart data for later "Checkout"?

(0) ShareShare
ReportReport
Posted on by

Hello everyone, 

 

I just build my first app in PowerApps and it acts as a "shop" to add things to cart and check out, there is no money involved whatsoever. I am trying to save user's carts for later checkout, as of now it starts over to nothing in the cart, it doesn't save anything. How do I save my cart data so I don't have to start over? Would like to use SharePoint if possible. 

I'm new to PowerApps so please go easy on me.

 

Thanks in advance!

 

Categories:
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Silvi ,

     

    A simpler way is to create a collection in your apps, whenever the user adds shopping content, save the user's email and item information to the collection, so that when the user checks, you can use filters to filter all records in the same email to achieve the effect of settling all purchases by the current user.

     

    Of course, you can also use your original method, first you need to create an SPlist, then connect it to your apps, and whenever the user adds a shopping cart item, use the Patch function to save the item information to SPlist.

    Patch(SPListName,Defaults(SPListName),{ColumnName1:Value1 ,ColumnName2:Value2 ,ColumnName3: Value3,....})

    vmengmlimsft_0-1695865226475.png

     

     

    Hope this helps you!

    -----------------------------------------------------------------------------------------------------------------------------------

    If my answer solves your problem, please accept it as a solution to help more people stuck on the same problem find it.

     

    Best regards,

    Rimmon Li

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard