Reputation: 1599
I am trying to provide a discount for a limited time.
I want to show the amount as per below image but I am not able to do so.
I am not able to find any option to do so in Google Play Developer Console.
Any help is appreciated.
Upvotes: 4
Views: 1499
Reputation: 1
For discount price You need to read all Json which is coming from your play console and here is Discounted Price.
productDetailsResult.productDetailsList?.get(0)?.subscriptionOfferDetails?.get(0)?.pricingPhases?.pricingPhaseList?.get(1)?.formattedPrice
Add you logs ang get all what you want.
Upvotes: 0
Reputation: 6640
It's a kind of hack, but you can use product description field. As of now it isn't shown anywhere, so you are free to enter whatever you want and extract it through your app.
If you want to have sensible description in this field, be creative and place text like: "Now discounted from XX,XX$" :).
Sorry for Polish language on Google Play Console.
Upvotes: 0
Reputation: 863
I too did not see any first-hand option from the google play developer console to implement a discounted price solution, so I went ahead and implemented my own. I am sharing how I implemented the same below:
For example, Let's say you have an SKU "A" priced at 10$ and a discounted SKU "B" priced at 5$. In the firebase remote config, let's say you have a remote config variable for the current active SKU, set to "A". This means you are not offering any discount yet. Now, change the remote config variable value to "B", now you can calculate the discount as 50% w.r.t. your base SKU "A" and show the price of "B" SKU (5$) to the user.
Upvotes: 3