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 to work with disco...
Power Apps
Unanswered

How to work with discount promo code for order online

(0) ShareShare
ReportReport
Posted on by 438

I don't know how to create a formula to apply a discount using a promo code to the price. However, when a student types the promo code and it matches an entry in the SharePoint list, a discount will be applied in PowerApps.

 

Screenshot 2023-11-09 120803.pngScreenshot 2023-11-09 120759.png

Categories:
I have the same question (0)
  • dylandavis09 Profile Picture
    438 on at

    @Ali_SZ_365, thank you for sending this; it has been a lot of help. Also, where does 'TotalCartPrice' come from?

     

    Before we start with that, I have a bit of an issue summing up the total price from the gallery to the label. 😞

    "$"&Sum(Gallery4_2.AllItems,'Dragon Tickets')

    Screenshot 2023-11-09 130246.png

  • dylandavis09 Profile Picture
    438 on at
    Still error: Sum(Gallery4_2, yourPriceColumn)

    Screenshot 2023-11-09 151548.png

     

    Other thing:

    Screenshot 2023-11-09 152000.png

  • dylandavis09 Profile Picture
    438 on at

    @Ali_SZ_365, i just added 'varDiscount' to the 'PBiS Discount' label, and it is now working.

    Screenshot 2023-11-09 at 11.12.49 PM.png

     

    Then, what about putting the 'Shopping Cart - Dragon Tickets:' label into some formula?

    Screenshot 2023-11-09 at 11.16.05 PM.png

     

    Correct??

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard